Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#
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 3
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 5
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 4
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 7
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 16
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 13
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 12
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 9
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 23
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 21
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 48
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 33
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 30
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 36
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 27
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 33
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 38
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 26
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

Asp: Display image refreshed despite browser cache Net-Framework/ASP_dot_Net/HTML
Asp: Display image refreshed despite browser cache
02.04.2018 30
How to update an image in an Asp Net website when the Browser Cache is turned on If I display a picture on a web page and change it with the upload, then the new picture is not displayed because the browser has cached the previous picture in the cache Can I update

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 52
error message ex InnerException = {System Data SqlClient SqlException (0x80131904): Die IDUser-Identitätsspalte kann nicht aktualisiert werden

Show Emoticons as Black and White Graphics Net-Framework/ASP_dot_Net/HTML
Show Emoticons as Black and White Graphics
29.03.2018 42
Show emoticons as black and white How to display emoticons as simple black and white graphics For this you can in a text editor simply insert the inserted emoticons with the font Segoe UI Emoji Segoe UI Emoji

Image and emojis gray Net-Framework/ASP_dot_Net/HTML/CSS
Image and emojis gray
29.03.2018 47
1) Style filter grayscle If you want to display a picture or icon from colored to gray on a web page, then you can simply set a CSS style flag With the style attribute filter: grayscale, you can change any displayed image to gray In HTML

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 75
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

jQuery Example: Convert text to number, swap image Net-Framework/ASP_dot_Net/HTML
jQuery Example: Convert text to number, swap image
28.03.2018 47
How can I exchange an image in HTML and change a text number? Task: I would like to change an embedded image of the button when clicking on a button and increase or decrease the adjacent text as a number Solution: The resoluti

How can I copy something to the clipboard with a button from a web page? Net-Framework/ASP_dot_Net/HTML
How can I copy something to the clipboard with a button from a web page?
28.03.2018 51
Task: I would like to use a button to copy the current URL of the website to the clipboard Solution: You can use the javascript code copy to copy the selected text of an input text box to the clipboard

Javascript: how to get the URL of the current website Net-Framework/ASP_dot_Net/HTML
Javascript: how to get the URL of the current website
28.03.2018 37
How can I use javascript or jQuery to find the current web URL? In javascript or jQuery Solution: In Javascript: window location href

HTML Style: Create text border with text-shadow Net-Framework/ASP_dot_Net/HTML/CSS
HTML Style: Create text border with text-shadow
26.03.2018 46
HTML Style: Create text border How to make a text border around a text in HTML with CSS style? I want the border around the text The style setting border unfortunately leads to a frame Solution: Setting the style attribute: text-shadow

Javascript: Query dialog OK Cancel Net-Framework/ASP_dot_Net/HTML
Javascript: Query dialog OK Cancel
23.03.2018 40
Javascript: Query dialog How to generate a confirmation dialog in HTML Javascript before deleting? Solution: with javascript confirm

HTML: Resize element Net-Framework/ASP_dot_Net/HTML/CSS
HTML: Resize element
23.03.2018 60
How to make an HTML resizable in size? To do this, you only have to add the resize style attribute in an HTML div tag Then a small changeable corner appears in the bottom right side of the page layout

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 60
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

Mobile

.

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