Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#
Asp WPF: Web API Read Values from Asp Net Api with HttpClient Net-Framework/ASP_dot_Net-Core/API
Asp WPF: Web API Read Values from Asp Net Api with HttpClient
17.01.2018 58
This example shows how to read the values ​​from a web server with API in WPF ASP Net Core Web API is installed on the server (IIS Express Server with SQL Server Express local DB) As desktop program a WPF application is installed

ASP: Create web application with authentication Net-Framework/ASP_dot_Net-Core/Auth
ASP: Create web application with authentication
16.01.2018 56
In the Package Manager Console, the command PM> update-database To run This creates the authentication database with the appropriate context description fo

API: Data Modify and Create with Api Example Net-Framework/ASP_dot_Net-Core/API
API: Data Modify and Create with Api Example
10.01.2018 56
With API interfaces, clients such as smartphones, desktop programs or IoT devices can exchange data with an Internet server Api corresponds to the so-called REST interface on the Internet, where data is exchanged with HttpGet, HttpPut and HttpPost

API error: Could not get any response Net-Framework/ASP_dot_Net-Core/Errors
API error: Could not get any response
10.01.2018 95
When executing the API request to an ASP Net application, the feedback comes in the API client: Could not get any response This seems to be like an error connecting to

🚩#23 ASP.Net: Add Web API Controller Net-Framework/ASP_dot_Net-Core/Learning
🚩#23 ASP.Net: Add Web API Controller
09.01.2018 56
If you need an external interface of devices to a web application, then you add an API controller to the web application, which then devices such as mobile phones, IoT devices, WPF desktop applications and other apps can exchange data directly The easiest way to create

Asp.Net Mvc: DbContext as interface of a SQL database Net-Framework/ASP_dot_Net-Core/Data-Model
Asp.Net Mvc: DbContext as interface of a SQL database
09.01.2018 58
Asp Net Mvc: DbContext as interface of a SQL database to the Asp Net Core application A connected database is always connected to Asp Net Core Mvc with some kind of bridge or interface This is called DbContext In principle, the Entity Framework DbContext translate

🚩#11 Create and Connect a database to ASP.Net MVC Core 2 Net-Framework/ASP_dot_Net-Core/Learning
🚩#11 Create and Connect a database to ASP.Net MVC Core 2
09.01.2018 91
Connect database to ASP Net Core 2 Step 1: Create a database without migration You can either create a database via CodeFirst under ASP Net Core or Code-First Codefirst uses Entitiy Framework Migration At Codefirst, the database is c

ASP Error: System.InvalidOperationException, An exception occurred while reading a database value Net-Framework/ASP_dot_Net-Core/Errors
ASP Error: System.InvalidOperationException, An exception occurred while reading a database value
13.12.2017 119
ASP Error: System InvalidOperationException, An exception occurred while reading a database value Error message in ASP Net System InvalidOperationException: 'An exception occurred while reading a

ASP.Net Core MVC: Insert dropdown list Net-Framework/ASP_dot_Net-Core/Learning
ASP.Net Core MVC: Insert dropdown list
12.12.2017 103
This code example shows how to display a dropdown list in ASP Net Core MVC Specification: In the connected database, there is a small table with selection texts with the name tblBase_Product groups The selection table has an ID and

ASP EF Error: Unable to create object of type DbContext Net-Framework/ASP_dot_Net-Core/Errors
ASP EF Error: Unable to create object of type DbContext
09.12.2017 81
Problem: When uploading the Code First data to a SQL Server with Entity Framework comes the message PM: Add-migration initial Unable to create an object of type 'a

EF: Update Migration Type Mappings. Which C # variable types are to which SQL server field types Net-Framework/ASP_dot_Net-Core/Data-Model
EF: Update Migration Type Mappings. Which C # variable types are to which SQL server field types
09.12.2017 55
Entity Framework, Default, Types In the following I created a model class under ASP Net Core 2 MVC and transferred them via add-migration and update-database to a SQL server The following variables are converted to C # including default defaults on

#16 ASP.Net MVC: Eager Loading Include Data Net-Framework/ASP_dot_Net-Core/Learning
#16 ASP.Net MVC: Eager Loading Include Data
07.12.2017 51
If you want to display data from a linked table in a view view, then you use the so-called Eager loading The following is done in the view If, for example, you want to know the name of the assigned product groups in the follo

#15 ASP.Net Core MVC: View data tables on web page with MVC Net-Framework/ASP_dot_Net-Core/Learning
#15 ASP.Net Core MVC: View data tables on web page with MVC
06.12.2017 69
How To Display Data From A SQL Server On An ASP Net MVC Core 2 Website 1) Assign DbContext You have to extend the database model with OnModelCreating, which allows you to view the tables in the SQL Server database

#13 ASP.Net MVC: Define Data Tables wie EF Migration Net-Framework/ASP_dot_Net-Core/Learning
#13 ASP.Net MVC: Define Data Tables wie EF Migration
01.12.2017 61
ASP Net MVC: Data Asp net Core 2 MVC If you want to predefine tables in Asp net core 2 MVC with values during the development time, then you can fill them out using the migration In the example, the selection table product groups with the selec

Asp.net Error: No DbContext was found in assembly Net-Framework/ASP_dot_Net-Core/Errors
Asp.net Error: No DbContext was found in assembly
30.11.2017 243
The error message arises if you want to extend an application with EF Entity Framework on Asp net Core 2 MVC As soon as you start the migration, the Feher comes: No DbContext was found in assembly

Asp.net Errors: The entity type xxx requires a primary key to be defined. Net-Framework/ASP_dot_Net-Core/Errors
Asp.net Errors: The entity type xxx requires a primary key to be defined.
30.11.2017 259
When you create the migration in ASP Net Core 2 0 MVC, you receive the error that the Model class Products does not have a Primary Key You need the PrimaryKey in each table on SQL Server for the database to work quickly Error message in the Package Manager

Send email from Excel and Access Office-365/Access/Controls
Send email from Excel and Access
22.11.2017 218
The example shows how to send an email directly in Microsoft Access, Excel or other MS Office programs Here you use the axEmail_Send component, which can send emails directly from the program The component is written in vb net Framework 4 6 and c

Mobile

.

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