Samples,Code snippets, etc

Saturday, July 12, 2008

This post will be having Samples,Code snippets, etc

To start with, external javascript reference ,
Page.RegisterClientScriptBlock(string key, string script);

This peace of code register a client side JavaScript block with "Script Key" (If this is already registered then previous f.js file will be replaced) and script -- external file that is referenced.


if(Page.IsClientScriptBlockRegistered(string key))
this peace of code checks if script block is registered or not.


after that JavaScript fucntion can be called from the C# code, some what like this.
button1.Attributes.Add("onClick", "javascript:return function name();");

Samples,Code snippets, etc

This post will be having Samples,Code snippets, etc

To start with, external javascript reference ,
Page.RegisterClientScriptBlock(string key, string script);

This peace of code register a client side JavaScript block with "Script Key" (If this is already registered then previous f.js file will be replaced) and script -- external file that is referenced.


if(Page.IsClientScriptBlockRegistered(string key))
this peace of code checks if script block is registered or not.


after that JavaScript fucntion can be called from the C# code, some what like this.
button1.Attributes.Add("onClick", "javascript:return function name();");

New Technologies, tools, features, etc


This post will be having New Technologies, tools, features, etc in the .net industry and its related.
To start with, we provide the link to asp.net futures
http://www.asp.net/downloads/futures/


http://www.asp.net/DynamicData/


http://www.asp.net/MVC/


http://www.asp.net/ironpython/

New Technologies, tools, features, etc


This post will be having New Technologies, tools, features, etc in the .net industry and its related.
To start with, we provide the link to asp.net futures
http://www.asp.net/downloads/futures/


http://www.asp.net/DynamicData/


http://www.asp.net/MVC/


http://www.asp.net/ironpython/

Some Good Technical Links 1

Thursday, July 10, 2008

.NET 3.5 Enhancements Training Kit
http://www.microsoft.com/downloads/details.aspx?FamilyID=355C80E9-FDE0-4812-98B5-8A03F5874E96&displaylang=en
animated .gif stops moving when posting to another Asp.net 1.1 page
http://www.mredkj.com/vbnet/AnimatedGifOnPostback.html
Sharepoint and Community Server Integration to bring Social Networking Solution
http://communityserver.org/blogs/announcements/archive/2008/03/27/bringing-the-value-of-social-networking-to-sharepoint.aspx
According to two Gartner analyst, Windows is 'collapsing'

http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9076698&pageNumber=1


ASP.NET horizontal pagination/scrolling
http://www.domedia.org/oveklykken/css-div-scroll.php

Anyone else going to try the 3.5 beta
I found the Microsoft study guide
http://www.microsoft.com/learning/exams/70-562.mspx

And based on that I purchased this:
http://www.amazon.com/gp/product/0735625271
.NET Deployment Project: Read environment variable at compile time

http://robmensching.com/blog/archive/2007/11/26/Visual-Studio-ships-the-WiX-toolset.aspx

http://wix.sourceforge.net/
.NEt wrapper from Azman
[1] - http://www.microsoft.com/downloads/details.aspx?FamilyID=7edde11f-bcea-4773-a292-84525f23baf7&DisplayLang=en

some useful links
http://www.harding.edu/fmccown/vbnet_csharp_comparison.html

Create GIF with transparency from text

http://codebetter.com/blogs/brendan.tompkins/archive/2007/06/14/gif-image-color-quantizer-now-with-safe-goodness.aspx

(http://www.mikeindustries.com/blog/sifr/)

Moving SPList Item from one custom list to another.
http://www.communardo.de/techblog/2008/01/08/sharepoint-listenelement-splistitem-in-eine-andere-liste-kopieren/

Create Feature in Master pages for Site Collection
http://www.heathersolomon.com/blog/articles/servermstpageforsitecollect_feature.aspx

WCF Security Guidance Project
J.D. and crew are hosting it on CodePlex to get feedback. From
J.D.'s blog
:
Our patterns & practices WCF Security Guidance Project is in progress on CodePlex. This is our first release of prescriptive guidance modules for WCF Security.
How TosOur How Tos give you step by step instructions for performing key tasks:
How To - Create and Install Temporary Certificates in WCF for Message Security During Development
How To - Create and Install Temporary Certificates in WCF for Transport Security During Development

How To - Impersonate the Original Caller in WCF calling from Web Application

How To - Impersonate the Original Caller in WCF calling from Windows Forms
How To - Use netTcpBinding with Windows Authentication and Transport Security in WCF from Windows Forms
How To - Use SQL Role Provider with Username Authentication in WCF from Windows Forms

How To - Use SQL Role Provider with Windows Authentication in WCF from Windows Forms

How To - Use Username Authentication with the SQL Membership Provider and Message Security in WCF from Windows Forms
How To - Use WsHttpBinding with Windows Authentication and Message Security in WCF from Windows Forms
How To - Use wsHttpBinding with Windows Authentication and Transport Security in WCF calling from Windows Forms
Videos Our videos step you visually through key guidance:
Video: How To - Host WCF in a Windows Service
Video: How To - Impersonate the Original Caller in WCF calling from a Windows Form
Video: How To - Use basicHttpBinding with Client certificate in WCF from Windows Forms
Video: How To - Use netTcpBinding with Windows Authentication and Message Security

Video: How To - Use SQL Role Provider with Username Authentication in WCF calling from Windows Forms
Video: How To - Use WsHttpBinding with Certificate Authentication with Message Security
Video: How To - Use WsHttpBinding with Windows Authentication with Message Security

LinkWithin

Blog Widget by LinkWithin

Recommended Books