Abundant Code

  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • F#
  • JavaScript
  • ASP.NET
  • C
  • Java
  • SQL Server
  • Assembly Lang
Home » ASP.NET

15 Best ASP.NET based Content Management Systems(CMS)

March 10, 2020 by AbundantCode 19 Comments

ASP.NET is a Web Application development framework thats lets the developers to build dynamic web applications using .NET. In this article , we share 15 cool ASP.NET MVC based CMS (Content Management Systems) that you might find it useful. 15 Best ASP.NET based Content Management Systems(CMS) Orchard Progress Sitefinity Composite C1 Kentico CMS for ASP.NET […]

Filed Under: ASP.NET Tagged With: ASP.NET, CMS

How to read connection string from web.config in ASP.NET and C# ?

February 16, 2017 by AbundantCode Leave a Comment

Here’s a sample code snippet demonstrating how to get the connection string from your ASP.NET web.config file so that you can make a connection to the database. How to read connection string from web.config in ASP.NET and C# ? Assume that the connection string name defined in the web.config file is “conn1” , you would […]

Filed Under: ASP.NET Tagged With: ASP.NET

How to accept HTML Form Data in a ASP.NET Web API Action Method ?

December 27, 2016 by AbundantCode Leave a Comment

There are times when you might want to create an endpoint in ASP.NET WebAPI that can handle the HTML form data posted as x-www-form-urlencoded. One of the options is to use the model binding concept.   In this case , the model should have the names of the keys that are passed in the HTTP […]

Filed Under: ASP.NET Tagged With: ASP.NET MVC, How to, WebAPI

How to return Http Status Code from ASP.NET Web API Controller ?

December 27, 2016 by AbundantCode Leave a Comment

There are times when you might want to return the Http Status code from an action method of a ASP.NET Web Api Controller. One of the simplest way of doing this is using the CreateResponse method of the HttpRequestMessage as shown below. The sample below demonstrates how to return the status code 304 and 200 […]

Filed Under: ASP.NET Tagged With: ASP.NET MVC, How to, Web API

How to get the Relative Server Path in ASP.NET Web API ?

December 27, 2016 by AbundantCode Leave a Comment

In ASP.NET MVC , we can use the Server.MapPath or Request.MapPath to get the relative path of the server for a file. For example , The fileName would be the absolute path of the file. How to get the Relative Server Path in ASP.NET Web API ? You can use the HostingEnvironment.MapPath defined in System.Web.Hosting […]

Filed Under: ASP.NET Tagged With: ASP.NET MVC, How to, Web API

How to Add Web API to existing ASP.NET Web Forms Project ?

December 26, 2016 by AbundantCode Leave a Comment

In one of the previous posts , we saw how to add the WebAPI to the existing ASP.NET MVC project. Well , the process of adding the ASP.NET Web API to the existing ASP.NET Web Forms project is still the same. You can easily do that by installing it from NuGet. Open the Package Console […]

Filed Under: ASP.NET Tagged With: ASP.NET, Web API, Web Forms

How to read a connection string from web.config file in ASP.NET ?

September 9, 2016 by AbundantCode Leave a Comment

Assume that you have a connectionstring configured in the web.config file of your ASP.NET application and you wish to read it using C# within your application. How to read a connection string from web.config file in ASP.NET ? You can easily do that using the ConfigurationManager class defined in the System.Configuration namespace. 1. Ensure that […]

Filed Under: ASP.NET, C# Tagged With: ASP.NET, C#, howto

Could not load file or assembly … An attempt was made to load a program with an incorrect format (System.BadImageFormatException)

September 9, 2016 by AbundantCode Leave a Comment

There are times when you might get the following error when running the application from Visual Studio or opening your application page in the browser. Could not load file or assembly … An attempt was made to load a program with an incorrect format (System.BadImageFormatException) I received this error recently when trying to deploy the […]

Filed Under: ASP.NET Tagged With: ASP.NET, error, IIS

How to set default value for Html.TextBoxFor in ASP.NET MVC ?

February 10, 2016 by AbundantCode Leave a Comment

You can set the default value for the Html.TextBoxFor extension controls in ASP.NET MVC by specifying the Value property as shown below. How to set default value for Html.TextBoxFor in ASP.NET MVC ?

Filed Under: ASP.NET Tagged With: ASP.NET, MVC, web

How to read a key from the Web.Config file in ASP.NET app using C# ?

February 10, 2016 by AbundantCode Leave a Comment

If you want to read the values based on the key from the web.config file in your ASP.NET application using C# , you can use the  WebConfigurationManager to do it. How to read a key from the Web.Config file in ASP.NET app using C# ? Assume that the configuration file contains the below values If […]

Filed Under: ASP.NET Tagged With: ASP.NET, Config file, How to, read

  • 1
  • 2
  • 3
  • …
  • 9
  • Next Page »
RSS
Facebook
fb-share-icon
Twitter
Visit Us
Follow Me
Tweet

Recent Posts

  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table
  • Python Program to Find the Factorial of a Number
  • Python Program to Print Prime Numbers in a Given Interval

Categories

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML

Blog Stats

  • 8,732,698 hits

Archives

Top Posts & Pages

  • C Program to Multiply Two Matrices Using Multi-dimensional Arrays
  • How to open display settings from command line in Windows 10 ?
  • System Software - SIC/XE Program to clear 20 byte string to empty
  • System Software – SIC/XE Program to arrange an array of 100 words in ascending order
  • System Software - SIC program to set 100 elements of array to Zero
  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • C Program to display half-pyramid using alphabets
  • Top 10 Open source Full Text Search libraries
  • How to Extract number from a string using C# ?
  • How to compare two Byte Arrays in C#?

Categories

  • Android
  • Angular 2
  • ASP.NET
  • Assembly Language
  • C
  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • Excel
  • F#
  • HTML
  • Interview Questions
  • Java
  • JavaScript
  • jQuery
  • Microsoft Office
  • MySQL
  • NETWORK
  • News
  • PHP
  • popular
  • PowerShell
  • Python
  • Ruby
  • SharePoint
  • SQL Server
  • SQL Server
  • Unix
  • VB.NET
  • Visual Studio
  • WebAPI
  • Windows
  • Windows Azure
  • Windows Forms
  • XAML

Top Posts & Pages

  • C Program to Multiply Two Matrices Using Multi-dimensional Arrays
  • How to open display settings from command line in Windows 10 ?
  • System Software - SIC/XE Program to clear 20 byte string to empty
  • System Software – SIC/XE Program to arrange an array of 100 words in ascending order
  • System Software - SIC program to set 100 elements of array to Zero
  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • C Program to display half-pyramid using alphabets
  • Top 10 Open source Full Text Search libraries
  • How to Extract number from a string using C# ?
  • How to compare two Byte Arrays in C#?

Recent Posts

  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table
  • Python Program to Find the Factorial of a Number
  • Python Program to Print Prime Numbers in a Given Interval
  • Python Program to Check Prime Number
  • Python Program to Find the Largest Value Among Three Numbers
  • Python Program to Check If a Given Year is Leap Year
  • Python Program to Check if a Number is Odd or Even
  • Python Program to Check if a Number is Positive, Negative or Zero

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML