Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#
Linq: Output to a variable list Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Linq: Output to a variable list
16.08.2018 2
Linq: Output to a variable list How to pass the query results of a Linq query to a free list? Solution: with list and elements of type Object

Linq: Select Fields in Query Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Linq: Select Fields in Query
16.08.2018 2
Linq: Select Fields in Query Error: object does not contain a definition for fieldname

the type or namespace name dbAppData_Context does not exist Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
the type or namespace name dbAppData_Context does not exist
10.08.2018 15
Problem: Occurs when updating the data model when updating the model at the WPF with an EF Entity Framework connection to a SQL Server database, then it may be that the connection is taken over incorrectly as a data context

Delete record in Linq Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Delete record in Linq
10.08.2018 14
Delete record in Linq Code snippet: delete record call

Code snippet: Create Linq Select table from ID number fields Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Code snippet: Create Linq Select table from ID number fields
10.08.2018 17
Code snippet: Create Linq Select table from ID number fields call

Evaluate Json in WPF Net-Framework/WPF/HTML-Documents
Evaluate Json in WPF
09.08.2018 37
Evaluate Json in WPF Task: I would like to evaluate a Json return from a website in WPF

Json error: A method was called at an unexpected time Net-Framework/ASP_dot_Net-Core/API
Json error: A method was called at an unexpected time
09.08.2018 21
Json error: A method was called at an unexpected time Problem: When evaluating an Api interface which returns a pure value list, the error comes that the method was called at an unexpected time Solution: When evaluating Json re

StatusCode: 405, ReasonPhrase: Method Not Allowed Net-Framework/ASP_dot_Net-Core/API
StatusCode: 405, ReasonPhrase: Method Not Allowed
09.08.2018 25
StatusCode: 405, ReasonPhrase: "Method Not Allowed" Problem: when accessing an Api-Delete interface from WPF on Asp Net Core MVC, the response StatusCode 405

httpClient Error: There is no mapped character in the multi-byte codepage for the Unicode character.  HRESULT: 0x80070459 Net-Framework/WPF/HTML-Documents
httpClient Error: There is no mapped character in the multi-byte codepage for the Unicode character. HRESULT: 0x80070459
08.08.2018 27
There is no mapped character in the multi-byte codepage for the Unicode character (Exception from HRESULT: 0x80070459) Problem: W

How to create a database connection in WPF and connect to EF Entity Framework Net-Framework/WPF
How to create a database connection in WPF and connect to EF Entity Framework
02.08.2018 54
If you've added an existing database as a draft to the WPF project, the easiest way to create a data connection is to double-click the database under Visual Studio This opens the Server Explorer and integrates the SQL Server database as Datat Conn

Kestrel web server Asp.Net Core 2 MVC hangs Net-Framework/ASP_dot_Net-Core/Errors/IIS-AspCore-Errors
Kestrel web server Asp.Net Core 2 MVC hangs
11.05.2018 382
Status: Open After a few incorrect accesses to SQL Server, the internal web server of Asp Net Core MVC hangs The problem is that then the entire application hangs for all web clients You then have to restart the IIS web server and web application by stopping th

Browser in Asp.Net Core 2 with Wangkanai Net-Framework/ASP_dot_Net-Core/Code-Example
Browser in Asp.Net Core 2 with Wangkanai
23.04.2018 505
How to determine the browser in Asp Net Core 2 and determine if it is a mobile device Net Framework, alt First of all, there is no query on the server in Asp Net Core as in Asp Net Framework In asp net MVC Net framework and

HTML: Move the position of an element only up to a certain position Net-Framework/ASP_dot_Net/HTML
HTML: Move the position of an element only up to a certain position
20.04.2018 211
How does one set it that an HTML element is only moved to a certain position when the browser moves the page? View browser In this example, the DIV area on a web page is only moved to the top of the window The element thus always remai

Asp core redirect http to https and www. To directly domain host Net-Framework/ASP_dot_Net-Core/Basics/Route
Asp core redirect http to https and www. To directly domain host
19.04.2018 737
Asp core redirect to and To directly domain host This article describes how to redirect the addresses from to in an Asp Net Core MVC project and additionally to move the domain from to domain com without redirects All elements such as the website and

Asp Net Core MVC: Login failed for user IIS APPPOOL \ Readdy Net-Framework/ASP_dot_Net-Core/Errors/IIS-AspCore-Errors
Asp Net Core MVC: Login failed for user IIS APPPOOL \ Readdy
19.04.2018 980
Asp Net Core MVC: Login failed for user 'IIS APPPOOL Readdy' The following error message comes when you want to access an SQL Server in an Asp Net Core 2 MVC application -> An error occurred using the connection to database Status: solve

Error message: An assembly specified in the application dependencies manifest was not found Net-Framework/ASP_dot_Net-Core/Errors/IIS-AspCore-Errors
Error message: An assembly specified in the application dependencies manifest was not found
18.04.2018 1015
Error message: An assembly specified in the application dependencies manifest deps json was not found Status: solved Following error in detail:

Where to find the Asp.Net Core Project File Net-Framework/ASP_dot_Net-Core/Project-Setup
Where to find the Asp.Net Core Project File
18.04.2018 223
In the Asp Net Core project file, the settings for the Asp Net Core application are set The file naming is with the ending csproj in the application like MeinAspProjekt csproj Many tutorials refer to the project file again and again in the xml structure

Wo findet man die Asp.Net Core Projekt File Net-Framework/ASP_dot_Net-Core/Project-Setup
Wo findet man die Asp.Net Core Projekt File
18.04.2018 223
in der Asp Net Core Projekt-Datei werden die Einstellungen zu der Asp Net Core Anwendung eingestellt Die Dateibenennung ist mit der endung csproj in der Anwendung wie MeinAspProjekt csproj In vielen Tutorials wird immer wieder auf die Projektdatei verwiesen und in de

Asp Core Error: Could not create stdoutLogFile Net-Framework/ASP_dot_Net-Core/Errors/IIS-AspCore-Errors
Asp Core Error: Could not create stdoutLogFile
18.04.2018 1625
Where are the detail errors of the Asp Net Core web application written? When creating an Asp Net core application, errors are written by the IIS Internet Information Server in the Windows Event Viewer and internal errors of the Asp Net Core application are written int

Finding bugs in Asp.Net Core 2 MVC applications. Net-Framework/ASP_dot_Net-Core/Errors/IIS-AspCore-Errors
Finding bugs in Asp.Net Core 2 MVC applications.
18.04.2018 383
Where to Find the Error Description, Error Log Files for Asp Net Core Applications on Windows Server 2016 with IIS 10, 8 5 When I publish my application to the Windows IIS Internet Information Server, the error Error 502 5 Process Failure appears

Server Error 500. Asp Core 2 MVC on IIS Website Setup Net-Framework/ASP_dot_Net-Core/IIS-Setup
Server Error 500. Asp Core 2 MVC on IIS Website Setup
13.04.2018 178
Server Error 500, Website: Asp net mvc core 2 Server: IIS Server on Windows Server 2016 HTTP-Fehler

Server Error: 403 - Forbidden: Access denied. Net-Framework/ASP_dot_Net/IIS-Server
Server Error: 403 - Forbidden: Access denied.
13.04.2018 500
When setting up my new IIS server comes the error message that 403 does not have access to the page Manual: Setup domain with IIS System: IIS on a new Windows Server 2016

Asp.Net Core 2 MVC: Email Sender Client Write. Net-Framework/ASP_dot_Net-Core/Code-Example
Asp.Net Core 2 MVC: Email Sender Client Write.
05.04.2018 501
By default, Asp Net Core MVC refers to the Api interface to the Email Service Provider: EmailGrid But you can also just set up your own email client to an email server like MailEnable Mailenable is a free email system and runs stably on all windows servers

Asp core: Cookie read and write Net-Framework/ASP_dot_Net-Core/Code-Example
Asp core: Cookie read and write
05.04.2018 185
Cookie reading string sIDReference = Request Cookies[ "r" ] ToString();

Javascript Code: Resize Border to add and remove an image Net-Framework/ASP_dot_Net/HTML/JavaScript
Javascript Code: Resize Border to add and remove an image
04.04.2018 208
This code example adds a changeable frame to an HTML image when the mouse clicks When dragging the frame in the lower right corner then changes the displayed image size If you leave the editor (div element), all resize frames are automatically removed and the imag

Javascript: frame HTML element with another element Net-Framework/ASP_dot_Net/HTML/JavaScript
Javascript: frame HTML element with another element
04.04.2018 166
This javascript code snippet does the following: Clicking on an HTML Image element surrounds it with a div element The first step is to create a div element var div = document createEleme

Javascript: attach event to all children Net-Framework/ASP_dot_Net/HTML
Javascript: attach event to all children
04.04.2018 136
Task: how can you add an event to all elements of a given HTML tag? Description: HTML, Javascript The following example shows how to attach all P-Html elements in a Div container element with a click-event

jQuery: function click does not work Net-Framework/ASP_dot_Net-Core/jQuery/jQuery-Errors
jQuery: function click does not work
04.04.2018 160
Problem: jQuery events click and mouseenter do not work In my jQuery script, the jquery event assignment does not work $(

EF: Determine new ID of a data record Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
EF: Determine new ID of a data record
03.04.2018 168
Question: How do you get the new ID of a record that you attach to a table in SQL Server using EF Entity Framework? Solution: You create a blank record from the appropriate MVC data model, fill it with new values โ€‹โ€‹and default values

Asp MVC: Output Data from SQL Server directly to a List Type Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Asp MVC: Output Data from SQL Server directly to a List Type
03.04.2018 140
Asp MVC: Output Data from SQL Server directly to a List Normal call: Get data with Linq-EF from a database table Disadvantage: the results are of type var and have yet to be manually transferred to a list var

Mobile

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de