2749 1
Missing Startup.cs in .NET 6, how to configure?

Hello, I have started using Visual Studio 2022 and Was trying to create a new ASP.NET Core (.NET 6) project, but when I tried to add new JSON settings in Startup.cs, I wasn't able to found this file? So How can i configure JSON settings or database context details in .NET 6 without startup.cs

...
Type
Question
15601 0
Email Address Validation in C# (With and without Regex)
In this article, I have explained how we can validate email address using regex ( regular expression in C#) and without it also using Data annotation with an example.
Type
Article
8468 0
Validating Email in ASP.NET using Regularexpressionvalidator
In this article, I have explained how you can validate email address or apply email validation using regularexpressionvalidator email validator in asp.net web forms.
Type
Article
13895 0
Export datatable to excel in C# (ASP.NET Web-Form example)
In this article, I have provided a examples to export datatable to excel in c# in ASP.NET web-application using data from SQL server database and have used OpenXML/ClosedXML & InterOp.
Type
Article
12691 0
Read Excel file and import data into GridView using Datatable in ASP.NET
In this article, I have explained how you can use C#, to read excel file into GridView using datatable in ASP.NET web-forms
Type
Article

4310 1
More than one DBContext was found - EF Core

I am trying to add new migrations in ASP.NET Core 3 web-api application which has already created database and using code-first approach, so when I trying to add new migrations, after creating Class and adding it in DBContext, getting this error, as shown below

"More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands."

...

Type
Question
7209 0
Save Selected Dropdown and Text value in database in ASP.NET Web-Forms
In this article, I have provided step by step procedure to create dropdown from database and add new dropdown values in database in ASP.NET Web-Forms.
Type
Article
11270 0
Understanding ASP.NET Gridview control with an example
In this article, I have explained about how we can create gridview in asp.net and how to bind gridview with data in Sql server database, with an example.
Type
Article
4168 0
Using CKEditor (Rich-Text Editor) in ASP.NET Core
In this article, I have provided step by step procedure on how to add CKEditor in ASP.Net Core Project and use it to save data in the database.
Type
Article
4893 0
Large file upload with Progress bar in ASP.NET Core (using Tus)
In this article, I have explained how we can upload large files in ASP.NET Core MVC C# project with progress bar using Tus
Type
Article

Page 10 of 31