Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#
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

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

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

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

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();

Error: Identity column can not be updated, IDENTITY_INSERT is set to OFF Net-Framework/ASP_dot_Net-Core/Errors
Error: Identity column can not be updated, IDENTITY_INSERT is set to OFF
30.03.2018 650
error message ex InnerException = {System Data SqlClient SqlException (0x80131904): Die IDUser-Identitätsspalte kann nicht aktualisiert werden

Asp Error: IDENTITY_INSERT OFF when accessing AspNetUsers registry Net-Framework/ASP_dot_Net-Core/Errors
Asp Error: IDENTITY_INSERT OFF when accessing AspNetUsers registry
29.03.2018 343
Asp Error: IDENTITY_INSERT OFF when accessing AspNetUsers registry A database operation failed while processing the request DbUpdateException: An error occurred while updating the entri

Asp MVC: Format Date as Short Date Net-Framework/ASP_dot_Net-Core/Data-Model
Asp MVC: Format Date as Short Date
22.03.2018 444
How to display a date as a short date in Asp Net MVC? The setting must be automatically displayed in each language so that the automatic national representation of the date appears Here the representation in German: So

Asp MVC Core: Display HTML text as HTML elements Net-Framework/ASP_dot_Net-Core/Code-Example
Asp MVC Core: Display HTML text as HTML elements
22.03.2018 213
HTML text issues How to display HTML text as HTML elements in an Asp MVC View In my Asp Net Core MVC application data should be displayed containing HTML strings with HTML structures and elements If you output these HTML str

ASP IIS Error: 440.13 Not Found. upload file size is exceeded Net-Framework/ASP_dot_Net-Core/Errors
ASP IIS Error: 440.13 Not Found. upload file size is exceeded
17.03.2018 350
Error message when uploading files to an IIS server IIS 10 0 Detailed Error – 404 13 – Not Found Reason: The upload file size is exc

Upload with progress bar, Ajax Net-Framework/ASP_dot_Net-Core/jQuery
Upload with progress bar, Ajax
17.03.2018 605
This example shows a web page that allows you to upload files to a server while displaying the current transfer status The example contains a simple HTML form with an invisible Files-Input element Once the files are selected, the upload will start automatically

jQuery: Set the value of a progress display Net-Framework/ASP_dot_Net-Core/jQuery
jQuery: Set the value of a progress display
17.03.2018 230
jQuery: Set the value of a progress display set the value of an HTML Progress element with val (value) $( "#ctlProgress" )

jQuery: 1-Button file upload with autostart Net-Framework/ASP_dot_Net-Core/jQuery
jQuery: 1-Button file upload with autostart
16.03.2018 278
automatically starting the upload of files after selecting the file upload script code This example shows how to create a photo upload in HTML, jQuery, javascript, which · Made up of only 1-button ·

Asp jQuery: upload files with Ajax Net-Framework/ASP_dot_Net-Core/jQuery
Asp jQuery: upload files with Ajax
16.03.2018 671
Asp: upload files with Ajax This example shows how to use Asp Core MVC and jQuery-Ajax to upload multiple photos or files to the server The transfer is loaded asynchronously under ajax and json, so the webpage does not have to be rebuilt With the jQuery

jQuery: execute function before submit with send Net-Framework/ASP_dot_Net-Core/jQuery
jQuery: execute function before submit with send
15.03.2018 237
How to use jQuery to execute a function before sending a form Solution: $( "#frmEdit" ) submit(functionxxx);

Execute jQuery: function after loading a page Net-Framework/ASP_dot_Net-Core/jQuery
Execute jQuery: function after loading a page
15.03.2018 285
I want a feature or program to run after loading a webpage Code example In the example a div field should be loaded with HTML Solution: If a script block is written to the end of the web page and checked with jQuery for $ (

jQuery: insert HTML into an element Net-Framework/ASP_dot_Net-Core/jQuery
jQuery: insert HTML into an element
15.03.2018 269
jQuery: insert HTML into an element, jQuery append() jQuery empty() With jQuery you can insert dynamic HTML elements into an HTML element by applying the methods jQuery empty () and jQuery appene (xxx) to an HTMLElement $( "

Asp: HTML to Text convert Net-Framework/ASP_dot_Net-Core/Code-Example
Asp: HTML to Text convert
14.03.2018 219
Asp: HTML to text Convert html to text If you want to convert HTML into text in ASP Net Core MVC for further processing, then there is not a simple method available as with Javascript Therefore, here is an HTML to text conversion file and

jQuery: Paste Event on Inserting Content into HTML Element Net-Framework/ASP_dot_Net-Core/jQuery
jQuery: Paste Event on Inserting Content into HTML Element
13.03.2018 227
Task: I need a jquery event when inserting text into an input form using strg-v, paste, paste Solution: With the bind ("paste", function ) $( "#divEditor"

jQuery: Insert event When Text or HTML Inserted in Element Net-Framework/ASP_dot_Net-Core/jQuery
jQuery: Insert event When Text or HTML Inserted in Element
13.03.2018 218
jQuery: Insert Paste Text How can you intercept the paste and paste event in an input element? I would like to execute a jquery function when inserting into a Div input field or TextArea input field? Solution: With jquery Elem

jQuery: Insert Event bei Text Eingabe Net-Framework/ASP_dot_Net-Core/jQuery
jQuery: Insert Event bei Text Eingabe
13.03.2018 170
jQuery: Insert Paste Text Wie kann man den Event von Einfügen und Paste in ein Eingabeelement abfangen? Ich möchte beim Einfügen in ein Div-Eingabefeld oder TextArea Eingabefeld eine jquery Funktion ausführen? Lösung:

jQuery: address element with id-Selector Net-Framework/ASP_dot_Net-Core/jQuery
jQuery: address element with id-Selector
13.03.2018 227
Selector: With the selectors you can address different groups in jQuery The # hashtag is used to address an element with the id With the Point all elements of a Css class are addressed #id selector $ ("# IDTest") Hide () -

Integrate Asp.Net Core jQuery Net-Framework/ASP_dot_Net-Core
Integrate Asp.Net Core jQuery
13.03.2018 211
How to include a jQuery script in Asp Net Core jQuery is pre-installed in Asp Net Core under wwwroot-libs Therefore you only need to insert a block at the desired position and insert functions into these jQuery Here's

Asp MVC: Determine current controllers and action in a view Net-Framework/ASP_dot_Net-Core/Layout-Master
Asp MVC: Determine current controllers and action in a view
07.03.2018 214
How can I find the current caller of an Asp Net Core MVC page directly in the view? If I am in the general layout view, and I want to set the current controller as the path in the navigation bar, then I need the information at runtime, which page was passed and from wh

InvalidOperationException: An exception occurred while reading a database value for property Net-Framework/ASP_dot_Net-Core/Errors
InvalidOperationException: An exception occurred while reading a database value for property
06.03.2018 793
InvalidOperationException: An exception occurred while reading a database value for property xx The expected type was System Nullable 1 [System Int64] but the actual value was of type System Int32 Error message in the browser

A database operation failed while processing the request. SqlException: Invalid object name Net-Framework/ASP_dot_Net-Core/Errors
A database operation failed while processing the request. SqlException: Invalid object name
06.03.2018 382
Asp Error: A database operation failed while processing the request SqlException: Invalid object name Error description in Asp Mvc A database operation failed while processing the request

Asp.Net Core: How to get the ApplicationDbContext in an Asp.Net Core MVC application Net-Framework/ASP_dot_Net-Core/Data-Model
Asp.Net Core: How to get the ApplicationDbContext in an Asp.Net Core MVC application
05.03.2018 633
Asp Net Core: How to get the ApplicationDbContext in an Asp Net Core MVC application If you want to access the SQL Server database in Asp Net MVC Core application, then you need the ApplicationDbContext short dbContext The ApplicationDbContext links the database ser

Mobile

.

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