What is the use of Culture ,UICulture and CultureInfo class in asp.net web applications

By // No comments:
CultureInfo Class :- 
  • The CultureInfo Class resides in the System.Globalization namespace.
  • The CultureInfo class contains culture specific information,such as the language,country,and cultural conventions that are associated with a specific culture.
  • The CultureInfo class is used to performing culture -specific operations such as formatting dates and numbers,casting,and comparing strings etc.
  • To find the all culture list, you can use CultureInfo.GetCultures method in culture info class.
  • See below application,here i have used cultureInfo Class to display the culture list in dropdownlist control.
A Web page in a web application consists of two culture value:-
  1. Culture
  2. UICulture
3

How to display Client browser languages in DropDownList using concepts of localization and Globalization

By // No comments:
Localization and Globalization Building a site for a particular culture(language and region)is called localization.Building a site for different culture is called Globalization. The more advanced approach specifies that the content of the web page is not restricted to a few international languages,so that a web page is understandable to masses from all over the world.Displaying the date and time according to the local culture of a region is an example of application Globalization.It provides a culture -specific web experience to the internet users. ASP.NET 4.0 provides built-in mechanisms to globalize web applications that can adapt to different languages.Basically Application Globalization involves two sub-process ,internationalization and localization. Internationalization is the process of internationalizing application code as per some specific standards and Localization is the process of rendering the output of an application according to a specific language and culture.
3

How to Deploy WCF Services on your Local Network and access it through your WCF Client Applications (Browser)

By // 1 comment:
Hi Friend, today we will learn "How to host your WCF services on your local Network and access it through your client application". If your computer is connected with more than one computers through LAN ,then you can access your wcf services on other computers also. But You have to make this computer as a server where your WCF services are hosted.You can access this Network ( local host) services from the other computers also. Now You can Host your WCF Client application on IIS server also.So that you can access it like this URL:-http://localhost:49864/Wcf_clientapps/ on other computers . Same concepts are used on virtual server also. Here You can host your services on server.and host your client application on same server or different servers.But here you can access it like this URL http://www.myserverice.com/ . both concepts are same, so here we will learn, how to access your wcf services on your local networks or local computers. You have to understand the concepts of address Format concepts of WCF
We will learn this concepts in Four parts :-
  1. Creating WCF Services
  2. Configuring a WCF Services
  3. Deploying WCF Services
  4. Building WCF Client Application
3

How to upload images using ajax AsynFileUpload Control and Create a Photo gallery of your friends like Google+ and Facebook in asp.net

By // No comments:
The AsynFileUpload Ajax control enables you to upload the files asynchronously on server.The uploading of files can be confirmed at both the server and client side. You can save the uploaded images by using SaveAs() method.This control works the uploads the files without doing any post pack.  This control shows the Loading image while file uploading is in process .There are different coloring options for showing the file upload.
  • Green color to indicate the file is uploaded successfully
  • Red color to indicate the file upload is not successful  
Sql server database is used to save the uploaded image by AsynFileUpload control.Here i have used a DataList control to display the uploaded images.In this Data List Control you can create your friends photo gallery like google+ and Facebook. For this application, you have to install AjaxToolkit first on your visual studio.You can install it easily from Here.
There are different concepts that you can implement by using this concepts.
  1. You can create your image gallery by using Grid View and Repeater control also in asp.net application.
  2. You can use  this AsynFileUpload control on your asp.net Form like IBPS.
  3. You can use this concepts in asp.net 3 tier architecture also.
  4. You can save your file path in .mdf database in asp.net
  5. You can use secure connections in your .net applications.
3

How to Pass Parameters in Crystal reports and fecth the records from the sql database in asp.net

By // No comments:
Hi Friend, Today we will learn"How to pass parameter in Crystal reports and fetch the records from the sql database on behalf of parameter pass in text box".Suppose, you have many records in your database and want to sort the records then you have to sort the records on the basis of any one column value in your database.Here we will pass this parameter value in crystal reports and display the sorted records in crystal reports.then you can download or print this records from the crystal reports. In previous post, you have learned as following. 
There are some steps to implements this whole concepts as given below:-
3

How to deploy web application using xcopy deployment technique in .NET

By // No comments:
 Xcopy is used to deploy an application by copying a set of files to a folder on the target computer and then execute the application on the client.The xcopy deployment technique
 deploys a fully functional application by simply copying the assemblies to the target computer.The xcopy deployment technique can also work with web applications with the exception of the folder structure,which that the files are copied to a virtual directory that you have setup for your web application.Here you can see How deploy your web application using Windows Installer technique.
There are some options of the XCopy Command as follows:-
1.) /E:-It copies directories, sub-directories and files including empty ones.
2.) /S:-It copies directories ,sub-directories and files excluding empty ones
3.) /R:-It is used to overwrites read only files. 
4.) /O:-It is used to copy security-related information such as file ownership and Access Control(ACL) Information.
5.) /K:-It copies attributes and normal xcopy will reset read-only attributes.
6.) /H:-It copies directories and sub-directories including hidden and system files.
7.) /I:-It assumes the destination as  a directory and creates if it does not exist.
8.) /C:-It continues copying even if an error occurs.
3
Powered by Blogger.