Friday 30 December 2011

Common Language Runtime (CLR) in ASP.NET

The Common Language Runtime (CLR) is an execution environment in ASP.NET development simple words. The main function of the CLR is conversion of the managed code into native code and then executes the program accordingly. It works as a layer between the operating system and the applications written in .NET languages that confirms to the Common Language Specifications (CLS).

The managed code compiled when only it is needed, that is it converts the appropriate instructions when each function is called. The Just In Time (JIT) is included in the CLR – it compiles the conversion of the Intermediate language to native code on demand at application run time.

During the execution of the program, the CLR manages memory, thread execution, garbage collection, exception handling, Common Type System (CTS), code safety verifications, and other system services. It is also referred to as a managed environment, because it also controls the interaction of the operating system with the program during the execution of a program.

At SPEC INDIA, our trained team of ASP.NET developers is eager to take care of any custom requirement from our probable Clients and prospects from all over the globe. If you have any requirement or queries, feel free to drop an email at our id lead@spec-india.com, we will be happy to assist you.


Wednesday 28 December 2011

Session Objects in ASP.NET

The ASP.NET session state identifies requests from the same browser during a limited time window as a session, and provides a way to persist variable values for the duration of that session. So, by default the ASP.NET session state is enabled for all ASP.NET applications.

In this article, we will share and explain about the Session objects in ASP.NET.

In classic ASP, the Session object was held in process to the IIS process and therefore any crash to the IIS or apps domain being reset will cause the whole Session object being reset. Hence, this will make the Session objects not reliable at all and cannot be used to store important data especially if your e-commerce type of website.

There are 3 types of storage providers for ASP.NET:

1. In Process Session State store (Stores sessions in ASP.NET memory cache--> Used in Classic ASP)
2. State Server Session State Store (Stores sessions in the ASP.NET State Server service)
3. Sql Session State Store (Stores sessions in Microsoft SQL Server Database and is configured with aspnet_regsql.exe)

At SPEC INDIA, our trained team of ASP.NET developers are eager to make very smart and secure use of Session objects declaration to make the effective and structured source code. If you have any requirement or queries, feel free to drop an email at our id lead@spec-india.com, we will be happy to assist you.


DotNetNuke Application Development


DotNetNuke (DNN) is a web content management system by Microsoft .NET. Apart from web content management system, you can also develop robust web applications using DotNetNuke. DNN enable developers to change the look of the website and add different functionalities through different DotNetNuke app. Using this platform developers can develop powerful web applications and CMS solutions. Developers can easily build and test customized web applications and CMS using open APIs to ensure that the applications are functioning in a smooth manner. DotNetNuke offers variety of features like :
  • The robust content management system enables developers to build CMS solution that meets all your business requirements.
  • All DotNetNuke editions have telerik controls features.
  • DNN CMS solution offers range of apps that can be used to incorporate additions functionality.
  • Containers can be used across the modules or for a single module.
  • Developers can easily customize stylesheets to include required elements.
  • Files uploaded by administrators or developers are easily on the site and can also be listed as modules.
  • You can easily host multiple website using a single hosting account.
  • You can also support multiple portals and website through a single database.
  • DNN provides separate roles for host and administrator. Host is responsible for managing hosting and e-commerce settings while administrator is responsible for defining different roles different user groups. 
DotNetNuke platform offer lot of opportunities to developers to build robust applications using the capabilities of an open sources platform.

Monday 26 December 2011

Caching: Improving ASP.NET site performance


We had already given a few glimpses about caching in ASP.NET a few weeks ago. The performance of a website in ASP.NET has always been a catchy issue. The performance of the website is the key requirement for any application or piece of code that you develop. And for any website developed with the purpose of critical mission, Caching is the way to go to significantly enhance the response time of your website.

Caching is basically a process of storing some frequently used data on the server to fulfill subsequent requests. The ASP.NET developers will discover that grabbing data or objects from memory is much faster than recreating the web pages or items contained in them from scratch.]

A properly mounted caching approach will certainly result on better performance and scalability of your website. But then, improper use of caching will actually downgrade your website or slow down the response time, as well as consume lots of server performance and memory usage. So, the good ASP.NET programmers use caching when one has infrequent chance of data or static content of web page.

At SPEC INDIA, our trained team of ASP.NET developers are eager to make very smart and secure use of Caching in ASP.NET programming, thus to ensure the authentication to the browser sessions. If you have any requirement or queries, feel free to drop an email at our id lead@spec-india.com, we will be happy to assist you.

Thursday 22 December 2011

Data binding in ASP.NET

The process of binding data on the server side control that will then render that data in some form to the Client is known basically as data binding in ASP.NET programming.  The only possible constraint for the data binding are that the server-side control must support a property called DataSource and a method called DataBind().

It works in this way: when you add a data binding to an ASP.NET webform, the Visual Studio .NET adds a data binding expression to the ASPX file. When the webform is requested for the first time, the ASPX file is parsed. The data binding event is fired when the controls databind method is called, and the handlers added by the ASP runtime evaluates the data binding expression and performs the actual data binding.

It we are able to ge the data bindings at run time, we could use reflection to perform 2-way data binding. However, there is no way to get the data bindings at runtime.

Yes, the ASP.NET programmers can add properties to the controls to store the data bindings in order to fix that problem. Although it can be an obstruction to make the code very clear, this option is still open.

At SPEC INDIA, our trained team of ASP.NET developers are eager to make very smart and secure use of cookies, thus to ensure the authentication to the browser sessions. It you have any requirement or queries, feel free to drop an email at our id lead@spec-india.com, we will be happy to assist you.

.NET Application Development

Microsoft’s .NET framework provides a structured programming model which enables developers to build applications which are visual pleasing and easy to use. Using this platform developers can create desktop as well as web based applications. At SPEC INDIA we provide offshore .NET application development services, using best industry standards to meet your meet business requirement. Our .NET professionals have extensive knowledge of .NET and are up-to-date with latest technology trends. Our .NET developers have experience working on various project based on .NET framework for diverse business segments.
Applications developed in .NET can be easily scaled as per the growing needs of the business. Our team of.NET developers constantly strive to provide solutions using latest IT equipment that helps you to stay ahead of your competitors. At SPEC INDIA we mix latest development tools and the realistic needs of your business develop software that best suits your needs. Applications developed using .NET can be easily upgraded and can also be easily integrated with other software’s. Using  .NET variety of application can be developed like ecommerce shopping cart, custom desktop and web based application, mobile application etc having rich features. SPEC INDIA also provide mobile application development services using .NET Framework. They have experience working on variety of mobile applications such as Chat applications, Mobile Sales Force Automations etc.

SPEC INDIA provides application development services for :

• Custom .NET application
• Web based applications
• Desktop based applications
• E-commerce solutions
• Portals
• Intranet & Extranet applications
• Customer Relationship Management (CRM) application
• Custom Management System (CMS) application
Mobile application development


Cookies in ASP.NET: Usage & security





In one of the previous blog article, we had explained the general purpose and meaning of using cookies in ASP.NET development. To take the discussion further, let us talk here about the technical ways and options of using cookie and their security.

Following are the most common ways for ASP.NET developers to user the cookies:
> By using HttpCookies class
> By storing multiple values in the same cookie
>By using Response directly

Security:
Security has always been a dicy question for all the ASP.NET developers all the times. They can be easily used by Spyware to track the User’s browsing activities. Cookies can be stolen by hackers too, to gain access to a victim’s web account. Even cookies are not software and they cannot be programmed like normal executable apps.

Although, they cannot carry viruses and cannot install malware on the host computer.

At SPEC INDIA, our trained team of ASP.NET developers are eager to make very smart and secure use of cookies, thus to ensure the authentication to the browser sessions. It you have any requirement or queries, feel free to drop an email at our id lead@spec-india.com, we will be happy to assist you.



Wednesday 21 December 2011

Cookies in ASP.NET: An Introduction

 
 
Cookies are small amounts of text that could be stored on the Client computer system by the browser. They are not software. Cookies are ways to store the data about a website visitors during the time when web server and browser are not connected. Thus, they are basically used to remember the Users between visits. They are particularly small in size, so the ASP.NET developers cannot store more than 4k of information. 

However, the client computers can open the cookie and see the content of a cookie, so it is highly recommended to not to store any passwords here. They are generally used to save User preference information.

Use of Cookies:
  • Storing Shopping cart content
  • User authentication
  • Setting User preferences
  • Identification of a User information
    etc.
At SPEC INDIA, our trained team of ASP.NETdevelopers are eager to make very smart and secure use of cookies, thus to ensure the authentication to the browser sessions. It you have any requirement or queries, feel free to drop an email at our id lead@spec-india.com, we will be happy to assist you. 
Happy Programming !

Friday 16 December 2011

Database Web Application Development in ASP.NET


Oracle or MS-SQL serve as some effective backend to build database applications in ASP.NET. In this article, we will talk about Oracle in general. Oracle integrates directly with Microsoft ASP.NET in a number of ways:
>  Enabling ASP.NET data access by using ODP.NET
>  Using Oracle developer tools for Visual Studio tools
>  Direct integration with Microsoft ASP.NET controls and services

The databases have always been the core part of the dynamic websites for ASP.NET developers.  From the above 3, I guess the 2nd one is the easy way comparatively to make the database and the frontend of the website interact with each other.


Initially, the ASP.NET developers should use the available tools to build a web application that retrieves the data from the Oracle database into a data grid. After that, a general login control can be added in order to secure the application by permitting only the authorized web users to access the application and the information. Finally, the developers can create any number of authorized web users using Oracle providers for ASP.NET. And all the information for these created web users will be stored within the Oracle database for checking their authenticity.

At SPEC INDIA, our trained team of ASP.NET professionals are able to make any application or the most complex dynamic websites as per the customized requirements of our Clients. You can always send an email of your requirements at our email contact lead@spec-india.com and we will definitely get back to you on the same with quality results.

Thursday 15 December 2011

ASP.NET – Client-side Caching

The performance of an ASP.NET application can certainly be improved if the data – which is accessed frequently and requires comparatively more time to create – is stored somewhere. To increase the performance of an application in these kind of situations, ASP.NET provides data caching using two basic mechanisms.

1.    Application Cache
It is used to store the arbitrary data in memory. It is very similar to using the application state. The data here in nature is more volatile, means that it is stored temporarily only at the specified location. The ASP.NET programmers can also configure application caching to notify your application.

2.    Page Output Cache
This type of caching is typically used for server applications and it enables the ASP.NET programmers to store the rendered HTML directly. This stored HTML is served in response to the subsequent requests for the same page. It enables one to cache the mobile version of the page too.  As compared to the application caching, the output caching can be customized that can store data on any data storage device.

Apart from this 2, there also can be the 3rd type of caching called as Fragment Caching. This is used to cache the information at a structure level.

At SPEC INDIA, our trained team of ASP.NET professionals takes care of all the requirement of Clients pertaining to the customized development of the software or a website. You can always send your enquiries at our email id lead@spec-india.com. We will be happy to assist you with all our knowledge base.

Wednesday 14 December 2011

IIS Express: Express Edition of IIS Web Server


The ASP.NET development tools are getting better and better these days with latest releases from Microsoft. But Microsoft is now also coming out with a new web server to support all ASP.NET developers’ benches with the most new launch: IIS Express.

Before IIS Express, the ASP.NETdevelopers have two points for testing your sites against a web server prior to IIS Express:
1, IIS Web Server – Windows in-built function
2, Visual studio’s in-built ASP Development Web Server
Both are pretty good at their places, but as a developer, you might need something at times which requires addition of capabilities of these both. Now, with IIS Express … you can have the Web Server that is easy to setup and install, and offers a full set of IIS Web Server functionality. Some of the nice features of IIS Express range as:

Ø  No specific requirement for Admin account to run and debug applications in ASP.NET
Ø  It can be installed side-by-side along with IISWeb Server/ASP Development Server
Ø  It works well with Windows XP and up

Tuesday 13 December 2011

URL Shortening for Sharepoint 2010


URL shortening is a technique reportedly done to support the SEO activities of a website. With this, the URLs of all the pages of the website are made shorter creatively and up to a maximum extent and still direct to the required page.
In order to make a long Sharepoint URL short, firstly copy the URL to the clipboard, got to a URL shortener, past the long link over there and copy the short URL you get in return back to the clipboard. It works good, but there are quite some non-regular steps in Sharepoint to go through.
Thus, in the Documents Tab, of every Document Library, a new item is added to the Share and Track group.  The result however looks as below:


Thus, this trick will definitely support the Sharepoint  and the ASP.NET developers to shorten the URLs of the pages and thus help the related SEO activities of the websites. Naturally, the more short and SEO related the URLs are, the more the incoming traffic is going to be.
Happy ASP.NET Programming!