Monday, February 2, 2009

Code Digest Updates.....

Here are the latest updates from code digest:

Thanks to Sateesh for introducing me to this......


New Articles Published
Using Roles in Forms Authentication in ASP.Net 2.0Authentication is one of the essential parts of any asp.net application we develop. Using authentication, our site visitors can be restricted to access private contents anonymously. Forms Authentication is one of the authentication mechanisms that can be used to authenticate users. With the introduction of 2.0 we have a handful of controls that helps in implementing role based forms authentication very easy with the primary support of Providers in ASP.Net 2.0.
ASP.NET Social Networks—Making Friends (Part 1)In this article by Andrew Siemer, we will cover the most important aspect of any community site—making friends. We will divide this article in two parts. This part starts with the discussion of Problem, that is, what we need to do to achieve success for the article's topic—finding and inviting friends to your network on a community site. It then moves to Design part where we decide on our requirements, and finally the article reaches Solution part where we begin discussing how to actually implem
ASP.NET Social Networks—Making Friends (Part 2)In the first part of this article we concentrated on two aspects Problem and Design. We started with the Problem, that is, defining what we need to implement the Friends concept, finding and inviting friends to join our network and developing an alert system. We then moved to Design wherein we actually finalized the requirements. And finally we began with the Solution, that is, actually implementing the features. In this part of the article by Andrew Siemer, we will continue with the solution pa
How to add content to SPList Item view formExcellent "how to" article written by my company VP R&D.
Custom GridView Paging with ObjectDataSource Control with ASP.Net 2.0ASP.Net is packed with many data bound control to present the data in tabular form to the users. In GridView control, we can enable the inbuilt paging by setting AllowPaging and PageSize property. In this approach, it will fetch all the records from database to display the records in any page. This will affect the performance when the number of records is really huge. It will be good, if we fetch only those records which are required to display in that particular page. This article will help us
Want to add a rating field to MOSS search results? Here's how! KWizCom's VP R&D explains how to add a rating field to MOSS search results.!
Using JQuery in ASP.Net AJAX Applications – Part 1JQuery is a light weight JavaScript library which provides fast and easy way of HTML DOM traversing and manipulation, event handling, client side animations, etc. One of the greatest features of JQuery is, it supports an efficient way to implement AJAX applications because of its light weight nature. This article series will help us understand the usages of JQuery in implementing AJAX applications.
How to import data from AD to InfoPath 2007 Form Template (code free) Excellent how to guide written by my colleague Shai Petel, KWizCom's VP R&D, explaining step by step how to import data from AD to InfoPath 2007 Form Template (code free!)
New Codes Published
Fit Popup window Size to the Image Size using JavaScript
Fire Validator Controls Before JavaScript Confirm Box Fires in ASP.Net Page
Validate For Invalid File in ASP.Net FileUpload control
String.ReplaceAll function in JavaScript
Display multiple spaces in HTML
Printing ASPX Page by Hiding Some of the Page Elements Dynamically
How to Pass Date from Calendar Pop-Up control To Parent Window in ASP.Net ?
Using the JQuery Library hosted by Google CDN (Content Distribution Network) in ASP.Net Applications
New FAQs Published
How to Host ASP.Net AJAX site on a Server that does not have ASP.Net AJAX Installed ?
What is the difference between Label and Literal Control in ASP.Net?
What is SharePoint?
What is WSS and MOSS? Explain How Sharepoint Works?
What is site and site collection in Sharepoint? And What is the main advantage of using site collections?
What is the concept of virtual path provider in sharepoint?
What is the concept of ghosting and unghosting in SharePoint?
What is the concept of safemodeparser in ASP.NET?
What is the concept of Site pages and Application pages in Sharepoint?
How should I find the temp tables are exists in database?

Happy learning..........

Tuesday, January 20, 2009

Powered By Cloud : Up coming seminar

Folks,
Here is information about one of the rare sessions on "Cloud Computing". Its difficult to find such a great set of industry experts expressing their vision on latest technologies like Cloud Computing. This program is happening in London.

If you have a chance my advise is don't miss it. Here you can find further details about the session and registration.

http://www.poweredbycloud.com/programme/programme.aspx

Its targeting the below audience:

CEOs, CIOs, CTOs, strategy heads and senior executives of:
- cloud computing providers
- potential clients of the cloud industry
- hardware equipment and packaged software vendors
- the wider telecommunications industry
- Internet service providers
- data centres
- leading cloud-computing start ups
- private equity, venture capital, and hedge fund investors
- business and technology media

Dates of Conference :
2-3 February 2009

Thanks to Philip (philip.low@broad-group.com) for informing me about this seminar. Reach him for any discounts with my reference :-)

Happy Learning !!!

Friday, January 16, 2009

KODU - Programming Language for Gaming

KODU - Design your own Video game -

How about designing the video game you imagine. This cool feature is being researched by Microsoft under name "KODU".

This is a visual programming language for creating games. Even children can develop a game under KODU and run on XBOX.

Some features of it are as below....
It is entirely Icon Based and has programming user interface.
You can design a game basing on rules, conditions and actions. You can add Vision, hearing and Time control characteristics.
Uses Xbox 360 controller for gaming input.
You don't need a Keyboard. I think the first programming language in the world which doesn't need a key board !!!!
20 different characters with different abilities.

So Game lovers, start imagining your own game, create it and play it !!! Its all yours.......

Wednesday, January 14, 2009

F# Language

Microsoft Cambridge Research center is coming up with a new language called F#, where F stands for Functional.

I was going through Microsoft Research blogs and found this one interesting. So here are some cool things about F#:

F# is all about leveraging the benefits of both typed functional programming and .NET.

F# is Interactive with Visual Studio. This allows F# users to develop fast, accurate code using Visual Studio’s background type-checking and Intellisense.

F# lightweight syntax inspired by Haskell and Python.

F# is functional language like BASIC, simplicity is the core concept.

A good functional program is like a beautiful poem: you see the pieces of a ‘solution’ come together. - Don Syme MS Research, Cambridge.

F# really enables the .NET platform to reach out to new classes of developers, and appeal to domains where .NET is not heavily used. This is especially true in data exploration and technical computing. We’re also exploiting functional techniques in parallel programming.

Many programmers choose to explore a problem in F# because it lets them focus more on the problem domain and less on programming itself.

In his interview, he gives an example of Scientist using F# to solve his functional domain problem.
Happy Learning !!!

Monday, January 5, 2009

Microsoft Blueprint

In continuation to my effort of bringing new age technologies from Microsoft, here is the latest "Microsoft Blueprint".

Microsoft is working on a new Factory based architecture that is nothing but MS Blueprint. Infosys is also partnering with MS on this new architecture development.

A software blue print is a step by step guidance and code generation capability for different layers like Data Access, Security, Smart Client etc.,

Guidance Automation Toolkit (GAT) is the predecessor for MS Blueprint. The basic use of this is to build guidance packages and make them available within Visual Studio Dotnet.

MS Blueprint has an advantage over GAT with versions. Whenever a new guidance package is available with GAT we have to uninstall old one and install new one. But with MS Blue Print you can get updates like RSS feed. It will check over Internet for newly available factories and makes it available integrated with Visual Studio.

Blueprint gives tight integration with windows work flow foundation. Each phase of work flow can be integrated with MS Blueprint. Guidance is build on top of the WWF.

Writing code generation logic in C# or VB.NET makes it simple than the GAT XML structure.

Infosys Work on MS Blueprint: Infosys created a silver light software factory demo, which internally contains three additional blue prints, Silver light Blueprint, WCF Blueprint, LINQ Blueprint.

Infosys Silver light blueprint gives factories/Guidance to implement logic layer of Silver light.

LINQ blueprint is for data layer. WCF Blueprint is for service interface layer.

Happy Learning !!!

Monday, December 29, 2008

Windows Live Sky Drive

As part of series of cloud computing articles, i want to give a live example of cloud computing i.e Sky drive. Of course this is just tip of ice burg what cloud computing can do.

Windows Sky drive is part of the windows live initiatives. It offers you 25 GB free space.
The Sky Drive files can save near about 1,000 songs or 30,000 digital photos. Sky Drive allows up to 30 folders and any number of sub-folders to be created by its members. It was first introduced in August 2007. It is absolutely free and reliable. Look and feel will give you explorer like view.

All you need to have is MSN or Hotmail id to log in and start using. You need not install anything also.

So why cant we make use of our rightful 25GB space over Internet :-)

once you upload your content you will see url as below

http://cid-8abf63fabcdef.skydrive.live.com/home.aspx

Happy learning !!!!

Sunday, December 7, 2008

Tips and Tricks of Dotnet - III

This is the third in sequence, refer to the below link for earlier Tips and Tricks of Dotnet


Continued...
Batch updates for Dataset in ado.net 2.0 increased the performance. Earlier DS used to do round trip for each updated row in dataset. From ado.net 2.0 onwards, datatables also have serialization.


Avoid openxml method on large xml documents, this method tries to open in DOM model, if the document is large it will use memory and resources.


Use XMLTextreader for large documents.


Security in Dotnet:


Refer to the ASP.NET security diagram below.





ASP.NET security settings are by default stored in web.config or machine.config.


In IIS message digest authentication password is sent in MD5 encryption key and value is mapped with password list stored on server. This is better than IIS basic authentication. For any of these two options it is suggested to use SSL, though it slows down the performance.
Check the below IIS authentication comparison table. Dont confuse them with ASP.net security options windows, forms, passport.

These are IIS Security options in general.
Database Tuning:
Higher throughput and lower response time are the criteria of better performance.
Response time = service time + wait time
Throughput = Amount of work / Amount of Time
DataWarehouse projects response time is more important
OLTP projects thoughput (concurrency) is more important.
Aggregate functinos in DB are performance blocks, if there are high number of rows or unidexed data.
DataWarehouse projects response time is more importantOLTP projects thoughput (concurrency) is more important.

If there are more insert, update and delete then throughput need to be considered, if there are more select then response time need to be measured.
 
web counter
Download a free hit counter here.