Showing posts with label ASP.Net Tutorials. Show all posts
Showing posts with label ASP.Net Tutorials. Show all posts

Tuesday, March 12, 2013

When can we use HttpContext.Current.Items to stores data in ASP.NET?


To answer this question in a single statement, you can use HttpContext.Current.Items for very short term storage. By Short term storage we mean that this data is valid for a single HTTP Request. There is a lot of confusion around regarding storing data in HttpContext.Current.Items and storing data in Session variable. In this blog post, I am going to describe what are the different scenarios where we can use HttpContext.Current.Items and what is the exact difference with session variable.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>HttpContext, Session, HttpContext vs Session, ASP.NET, .Net, .Net Tutorials, ASP.Net Tutorials, Difference between HttpContext and Session

Wednesday, January 16, 2013

GlobalizationResource in ASP.NET


It is that part of .NET that deals with "Multi Lingual" Applications i.e the web application which can generate content in different languages. The Dynamic content which comes from the database will already be in a specific language we have to explicitly take care of the static content we change from language to language

For every language which we wish to support we add a RESOURCE FILE having key value pairs ,the keys will be same but the values will change based on the language which our application supports.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials,Asp.Net, Asp.Net Articles, Asp.Net Tutorials, Globalization, GlobalizationResource in Asp.Net

Thursday, August 30, 2012

Passwords & Secrets (Encryption & Observable Collections)


Passwords & Secrets is a notepad-style app that you can protect with a master password. Therefore, it's a great app for storing a variety of passwords and other secrets that you don't want getting into the wrong hands. The note-taking functionality is top-notch, supporting

Auto-save, which makes jotting down notes fast and easy
Quick previews of each note
The ability to customize each note's background/foreground colors and text size
The ability to email your notes

On top of this, the data in each note is encrypted with 256-bit Advanced Encryption Standard (AES) encryption to keep prying eyes from discovering the data. This encryption is done based on the master password, so it's important that the user never forgets their password! There is no way for the app to retrieve the data without it, as the app does not store the password for security reasons.

Read More from: Original Source

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,Advanced,VS2010,.Net,Articles,ASP.Net,ASP.Net Tutorials,C#,Computer Tips and Tricks,Computer Tutorials,SilverLight,SilverLight Tutorial,Window Phone Tutorials,WP7,WP8,WPF

Tuesday, July 17, 2012

Return Multiple Values(or Objects) in VB.NET


You might have searched "How to return multiple objects in VB.Net" in google and you might have got a lot of Ir-relevant articles. But this is not such an article, this goes to the point. I am going to teach you how to return multiple values in VB.net.

I gave a lot of try (Searching), how to do the stuff but most of the search results turned out to be like using a single object and returning multiple values in it, but that I do not need. So I thought of writing an article here about the same. So at least it will be helpful for sum beginners.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

.NET,Architect,Intermediate,VS2010,Articles,ASP.Net,ASP.Net Tutorials,Computer Tips and Tricks,Computer Tutorials,Dot Net Interview Questions,Interview Questions,Microsoft,Sample Code,SilverLight,SilverLight Tutorial,Visual Basic,Visual Studio

Tuesday, June 19, 2012

ASP.NET page partial rendering


Introduction

Here is the sample code for rendering partial data to the browser when the ASP.Net page is still in progress. Yes, you can achive this by using simple Response.Flush() method.

The code looks simple, but it is really helpful when the page is making multiple expensive database call or External web service call. You can show available information to the user, instead of showing the busy cursor or making the user to wait for the entire page progressing to be completed.

Background

In one of my projects the Business Logic has to make an external web service call, and based on the web service response, it has to make few more expensive database and web service calls. It made the users to wait for more than two minuts. So we have decided to implement the partial rendering and show the processing status in the browser with available information. Now the clients are happy and they can see the processing status.

Read More...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


Server side Delimiters in ASP.NET


Introduction  

Recently, while browsing Question & Answer section, I came across a question that asked for various scripting delimiters and their usage. It took some time for me to find appropriate links related to each of them to back up my answer. So, I thought, why not post all of them in one place as a Tip/Trick here.

Background

A server-side script is a series of instructions used to sequentially issue commands to the Web server. These scripts are differentiated from text and HTML by delimiters. A delimiter is a character or sequence of characters that marks the beginning or end of a unit. ASP.NET (and ASP too) uses the delimiters <% and %> to enclose script commands. Within the delimiters, you can include any command that is valid for the scripting language you are using.

Read More....


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


Monday, June 18, 2012

How to Write a Simple login page in Asp.net


Yesterday I stumbled across a post that was posted on our forum. I was very busy with other things, when Sheo started a conversation based on that post. I was looking at it until he updated the untagged code that was posted. By looking at the Stored Procedure I could see that the poster was lost and his Stored Procedure approach failed him. In this Article am going to explain how to write a simple login in Asp.net.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


LinkWithin

LinkWithin

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails