Topics Search

ASP.NET

Home » ASP.NET (1147)
  • Page 1 of 58
  • »
 

Serialize List Items as Separate JSON Object in C#

Serialize List Items as Separate JSON Object in C# Icon
Here we will learn how to serialize list object as separate JSON array in c#, vb.net with example or Use newtonsoft.json to serialize list items as seaprate JSON object in c#, vb.net with example or Jsontextwriter to serialize list object as JSON array in c#, vb.net with example. By using newtonsoft Jsontextwriter reference in our applications we can easily convert list items as separate JSON object based on our requirements.
 
Advertisement:
 

Image Processing with .NET Core

Image Processing with .NET Core Icon
If you're new to .NET Core, and familiar with the full .NET Framework, you may or may not have noticed that the System.Drawing namespace—which is very useful for image processing and manipulation—is not available to .NET Core. Because the full framework runs on Windows machines, .NET Core is cross platform; and to quote MSDN 'The System.Drawing namespace provides access to GDI+ basic graphics functionality.' We begin to see the problem here.
 

NewtonSoft JSON Serialize And Deserialize in C#, VB.NET

NewtonSoft JSON Serialize And Deserialize in C#, VB.NET Icon
Here we will learn how to use newtonsoft JSON to serialize and deserialize in asp.net using c#, vb.net with example or Use newtonsoft.json for JSON serialization and deserialization in asp.net using c#, vb.net with example or serializing / deserializing JSON data in asp.net using c#, vb.net with example. By using newtonsoft.json reference in our asp.net applications we can easily serialize and deserialize data based on our requirements.
 

Using DataSet (DataTable) as Model in View

Using DataSet (DataTable) as Model in View Icon
In this article I will explain with an example, how to use a DataSet or DataTable as Model in View in ASP.Net MVC Razor. Though it is not a good practice to use DataSet or DataTable as Model in View in MVC architecture, thus user’s please make a note that this is just an informative article and does not recommend to use DataSet or DataTable as Model in View in ASP.Net MVC.
 

Display (Show) data (records) from Database Table

Display (Show) data (records) from Database Table Icon
In this article I will explain a simple tutorial with an example, how to display (show) data (records) from Database Table in ASP.Net MVC 5 Razor. This article will explain how to configure Entity Framework and connect to SQL Server database and finally the fetched data (records) from Database Table and display it in View in ASP.Net MVC 5 Razor.
 

Retrieve data from database using Entity Framework

Retrieve data from database using Entity Framework Icon
In this article I will explain a simple tutorial with an example, how to retrieve data from database in ASP.Net MVC 5 Razor using Entity Framework. This article will explain how to configure Entity Framework and connect to SQL Server database and finally the retrieved data (records) from database and display it in View in ASP.Net MVC 5 Razor.
 

Regex Split String but Keep Delimiter

Regex Split String but Keep Delimiter Icon
Here we will learn how to split string include delimiters in c#, vb.net with example or split string but keep delimiters in c#, vb.net with example or regex split string but keep delimiter at the end in c#, vb.net with example or split string into array of words but keep delimiters at the end of result in c#, vb.net with example. By using regular expression we can easily split the string and include delimiters in word based on our requirements.
 

Call Stored Procedure using Entity Framework

Call Stored Procedure using Entity Framework Icon
In this article I will explain a simple tutorial with an example, how to call Stored Procedure using Entity Framework in ASP.Net MVC 5 Razor. The Stored Procedure will be called by passing the parameter value using Entity Framework in ASP.Net MVC 5 Razor.
 

Implement Search functionality

Implement Search functionality Icon
In this article I will explain with an example, how to implement Search functionality using Entity Framework in ASP.Net MVC 5 Razor. The Search functionality will be implemented using a Stored Procedure which will be called by passing the parameter value using Entity Framework in ASP.Net MVC 5 Razor.
 

Display Image from database

Display Image from database Icon
In this article I will explain with an example, how to display images stored in database in View in ASP.Net MVC 5 Razor. The images stored as Binary data will be fetched as BYTE Array and then the BYTE Array will be converted to BASE64 string and then displayed in View in ASP.Net MVC 5 Razor.
 

Creating an asp.net core docker application and deploying to azure

Creating an asp.net core docker application and deploying to azure Icon
This blog is a simple step through, which creates an ASP.NET Core Docker image using Visual Studio 2017, deploys it to Docker Hub and then deploys the image to Azure.
 

Save Base64 string as Image File using C# and VB.Net

Save Base64 string as Image File using C# and VB.Net Icon
In this article I will explain with an example, how to save Base64 encoded string as Image File in Folder on Disk in C# and VB.Net.
 

Cascading (Dependent) Country State City DropDownLists

Cascading (Dependent) Country State City DropDownLists Icon
In this article I will explain with an example, how to populate Cascading i.e. Dependent Country, State and City DropDownLists using jQuery AJAX in ASP.Net MVC Razor. The Cascading i.e. Dependent Country, State and City DropDownLists will be populated from database by making use of jQuery AJAX in ASP.Net MVC Razor.
 

Asp.net Core MVC Web Api Tutorial

Asp.net Core MVC Web Api Tutorial Icon
Here we will learn how to create web api in asp.net core mvc with example or asp.net core mvc rest web api tutorial with example or asp.net core mvc restful api with example or implement web api using asp.net core with examples. By using asp.net core mvc web api templates we can easily implement restful web api services based on our requirements.
 

Decimal TextBox Validation using Data Annotations

Decimal TextBox Validation using Data Annotations Icon
In this article I will explain with an example, how to perform Decimal TextBox Validation i.e. Decimal Number with maximum up to two decimal places validation using Data Annotations on Client Side in ASP.Net MVC Razor. The Client Side Decimal TextBox Validation i.e. Decimal Number with maximum up to two decimal places validation will be performed using Model class and RegularExpression Data Annotation attribute in ASP.Net MVC Razor.
 

RegularExpression Data Annotation Perform validations

RegularExpression Data Annotation Perform validations Icon
In this article I will explain with an example, how to use the RegularExpression Data Annotation in ASP.Net MVC Razor. The RegularExpression Data Annotation can be applied to Model Properties and used for enforcing Regular Expression (Regex) validations in ASP.Net MVC Razor.
 

Shopping Cart with C#, EF, SQL Server-Part2

Shopping Cart with C#, EF, SQL Server-Part2 Icon
In this series of ASP.NET MVC Shopping Cart Application, Part-1 covered most of the administrative features including Category/Product Management and Project Initial Setup. Features we are about to cover in Part-2 for ASP.NET MVC Shopping Cart Application can be categorized in three major areas:
 

Solving A Null Value When Posting A Simple String To A .NET Web API

Solving A Null Value When Posting A Simple String To A .NET Web API Icon
Many programmers, when creating a .NET Web API project, typically run into a situation where they want to post a simple x-www-form-urlencoded string datatype to an endpoint. They create the POST endpoint and attempt to post a string body to it only to find out that the value passed from the body is null. It can certainly be a frustrating endeavor to find a solution to this. After perhaps a few minutes of Google diving you run across an answer that mentions the use of an equal sign before the body string to get it to work. But then of course you have to account for this equal sign and it can just get messy. In this post we will talk about a few alternative solutions that we found to work out nicely which takes a different slant on the problem.
 

Create Password TextBox using Html.TextBoxFor

Create Password TextBox using Html.TextBoxFor Icon
In this article I will explain with an example, how to create Password TextBox using Html.TextBoxFor in ASP.Net MVC Razor. Html.TextBoxFor cannot create Password TextBox and hence Html.PasswordFor Helper function needs to be used. This article will also explain how to perform Client Side validation for Password TextBox using Model class and Data Annotation attributes in ASP.Net MVC Razor.
 

Simple User Registration Form with Entity Framework Database

Simple User Registration Form with Entity Framework Database Icon
In this article I will explain with an example, how to build a simple user registration form that will allow user register to the website in ASP.Net MVC Razor. The Registration Form will save (insert) data to database using Entity Framework. User will fill up the registration form with details such as username, password, email address, etc. and these details will be saved in the database table. The registration form will also make sure that duplicate username and email addresses are not saved by verifying whether username and email address must not exists in the table.
Home » ASP.NET (1147)
  • Page 1 of 58
  • »