Monday, February 25, 2008

asp.net tutorials with framework

It is not essential to use the standard webforms development model when developing with ASP.NET. Noteworthy frameworks designed for the platform include:

Castle Monorail, an open-source MVC framework with an execution model similar to Ruby on Rails. The framework is commonly used with Castle ActiveRecord, an ORM layer built on NHibernate.
Spring.NET, a port of the Spring framework for Java.

[edit] History
Date Version Remarks New features
January 16, 2002 1.0 First version

released together with Visual Studio .NET
Object oriented web application development supporting Inheritance, Polymorphism and other standard OOP features
Developers are no longer forced to use Server.CreateObject(...), so early-binding and type safety are possible.
Based on Windows programming; the developer can make use of DLL class libraries and other features of the web server to build more robust applications that do more than simply rendering HTML ( i.e. exception handling )

April 24, 2003 1.1 released together with Windows Server 2003

released together with Visual Studio .NET 2003
Mobile controls
Automatic input validation

November 7, 2005 2.0 codename Whidbey
released together with Visual Studio 2005 and Visual Web Developer Express
and SQL Server 2005
New data controls (GridView, FormView, DetailsView)
New technique for declarative data access (SqlDataSource, ObjectDataSource, XmlDataSource controls)
Navigation controls
Master pages
Login controls
Themes
Skins
Web parts
Personalization services
Full pre-compilation
New localization technique
Support for 64-bit processors
Provider class model

November 19, 2007 3.5 released together with Visual Studio 2008
New data controls (ListView, DataPager)
Integrated AJAX support
Improved support for nested master pages
Support for LINQ

Sunday, February 24, 2008

asp.net intoduction

ASP.NET is a web application framework marketed by Microsoft that programmers can use to build dynamic web sites, web applications and web services. It is part of Microsoft's .NET platform and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime, allowing programmers to write ASP.NET code using any Microsoft .NET language.

HID Communication in asp.net with c#

HIDLibrary.dll
namespace:using HIDLbrary;
namespace:using System.Text;
protected void btnsend_click(object sender, EventArgs e)
{
HIDLibrary.HidDevic[] HidDeviceList;
HidDevice HidDevice ;
HidDeviceList=HidDevices.Enumerate(0x01234,0x00001);
if(HidDeviceList.Length>0)
{
HidDevice=HidDeviceList[1];
byte[] Outdata=new byte[HidDevice.Capabilities.OutputReportByteLength-1];
HidDevice.OpenDevice();
OutData[0]=Convert.ToByte(txtsend.Text);
HidReport hr=new HidReport(1);
hr.Data=OutData;
HidDevice.WriteReport(hr);
HidDevice.Write(OutData);
string Text;
hr=HidDevice.ReadReport();
Text=Convert.ToString(hr.Data.GetValue(0));
txtread.Text=Text;
}

File Uplood for Videos in asp.net with C#


<%@Page Language="C#"%>


<br />File Uploading in ASP.Net Using C# - Demo <br />



<%if(!Page.IsPostBack)
{
%>

File uploading in ASP.Net using C# - Demo












Select a file to upload




<%}%>














Please feel to contact the author Sriram for
your valuable suggestions and feedbacks.


in web.config

maxRequestLength=4096 for 4MB uploading

maxRequestLength=8192 for 8MB uploading

maxRequestLength=16384 for 16MB uploading

maxRequestLength=65536 for 64MB uploading

Using Authorization with Swagger in ASP.NET Core

 Create Solution like below LoginModel.cs using System.ComponentModel.DataAnnotations; namespace UsingAuthorizationWithSwagger.Models {     ...