//Cloud notes from my desk -Maheshk

"Fortunate are those who take the first steps.” ― Paulo Coelho

Microsoft Expression Web SuperPreview – for IE Web Test

This is for Web developers (ASP.NET) who work for cross browser supportBaring teeth. Currently I’m into web development for a client and breaking my head to fix this cross browser issue. In another project, the client is asking for beta browser like IE 8 and Chrome support. In ASP.NET, menus are tougher to fix. Apart from this, if you have coded any DOM manipulation in Java script code, it is not easy to get/set values to tree/list controls/grid.

An easy solution for this is to identify browser type then bunch of code for each browser compatible DOM manipulation(Javascript). Its really time consuming and takes time to test it. This kind of approach boggles me and am not confident at all. But I highly recommend to take care of cross browser support from the prototype development stage itself.

Here is the news from MS regarding Web SuperPreview for IE  (its a visual debugging tool that makes it easier to migrate our Web sites from IE 6 to IE 7 or 8 ), but it would be better if they extend this support to test other browsers also..Currently few of my applications are working smoothly in IE 6 and above..but not sure about IE 8. I’ll post about the pros and cons after checking this too…
Advertisements

2009-03-22 Posted by | ASP.NET >> | 1 Comment

jQuery to my project !!

Currently i’m involved in designing a complete web application all alone and learning a lot these days. Doing a lot of POC and observing the best available things to the current Project. In this, jQuery is my latest crush,i knew JQuery for the past one year after Scott announcement but i never had a change to work for client project. Here is my first POC for no bie’s.. jQuery is a fast, lightweight JS
library that is CSS3 compliant and supports many browsers. The jQuery
framework is extensible and very nicely handles DOM manipulations, CSS,
AJAX, Events and Animations. Complete list of download available here.JQuery is not a JS replacement, but its a l
ibrary written using JavaScript.
1) Download from here
2) Add as reference.


 In aspx file.. 

$(document).ready(function() {
    // Add the page method call as an onclick handler for the div.
    $("#buttonn").click(function() {
        $.ajax({
            type: "POST",
            url: "MyJQuery.aspx/Samplemethod",
            data: "{}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function(msg) {
                $("#Mydiv").text(msg.d);
            }
        });
    });
});

<body>
    <form id="form1" runat="server">
    <div id="Mydiv">
    </div>
    <input id="Text1" type="text" />
    <input id="buttonn" type="button" value="button" />
    </form>
</body>
</html>
 In Code behind..
[System.Web.Services.WebMethod]
        public static string Samplemethod()
        {
            return DateTime.Now.ToString();
        }
You could see, the page gets the latest date and time easily…

2009-03-02 Posted by | ASP.NET >> | 1 Comment

App_offline.htm in ASP.NET 2.0 – Explained in Scott blog

 
Src : Scott Blog
 
App_Offline.htm

I was planning to break the news about the little-heard-of app_offline.htm feature in ASP.NET 2.0, but Erik beat me to it. J

 

Basically, if you place a file with this name in the root of a web application directory, ASP.NET 2.0 will shut-down the application, unload the application domain from the server, and stop processing any new incoming requests for that application.  ASP.NET will also then respond to all requests for dynamic pages in the application by sending back the content of the app_offline.htm file (for example: you might want to have a “site under construction” or “down for maintenance” message).

 

This provides a convenient way to take down your application while you are making big changes or copying in lots of new page functionality (and you want to avoid the annoying problem of people hitting and activating your site in the middle of a content update).  It can also be a useful way to immediately unlock and unload a SQL Express or Access database whose .mdf or .mdb data files are residing in the /app_data directory.

 

Once you remove the app_offline.htm file, the next request into the application will cause ASP.NET to load the application and app-domain again, and life will continue along as normal.

 

Hope this helps,

 

Scott

—————

 

 

2005-10-09 Posted by | ASP.NET >> | Leave a comment

FTP Online – 106 Articles about ASP.NET…

FTPOnline and Visual Studio Magazine give you the scoop on what ASP.NET features matter, as well as practical, how-to articles on developing and debugging Web apps, extracting performance data, using page templates, and more.

106 articles from ASP.NET  –  http://www.ftponline.com/resources/spcollections/aspnet/

As a great fan of FTPonline site, i recommend guyz with plumbing .NET editor can refer this. Its worthfull,they got excellent collection of How to articles … ? talks much about 100 % real world problems with 106 topics…..

Gudoos to FTPonline for their treasury collection..!!!

Mahe~

2005-05-05 Posted by | ASP.NET >> | Leave a comment

Bangalore get ready for TechNET 2005 – Register soon.!!

Tech•Ed 2005 is Microsoft’s largest technology educational conference. Meet thousands of your peers. Discuss the challenges you face in the industry. Explore solutions with the experts behind the technology you use every day. Add value to your company’s IT investments.

Get onto to the edge of developing the most productive software solutions, and deploying state-of -the-art server infrastructure.

http://www.microsoft.com/india/connections/teched2005/

2005-04-26 Posted by | ASP.NET >> | Leave a comment

MS TechNet & MSDN Session – In Bangalore(22/4/2005)

:::: My One day experience (last Friday-22/4/2005) Microsoft Events in Bangalore :::::

It was a great day for me and lot many things happened on that same day.I had bit feelings in morning, intresting time in afternoon , dramatic time in late afternoon in cubbon park:), happiest time in evening @ Office after seeing my interview mail call – totally wonderful day for me…

—————————————————————————————————-
TECHNET SESSION @ Hotel Capital,Bangalore – By Microsoft
First session :


 IIS 6.0 performance Tuning
– bit same old stuff( i already heard lot about IIS 6.0 features in previous microsoft seminar happened @ Leela palace)

 But still , here is the few notable features of IIS 6.0
 1. We can create any instance of IIS 6.0 – called worker process
 2. Any individual aspnet_wp.exe (is called worker process) can be suspended easily wihout affecting remaining application
 3. More than one worker process can be grouped as pooling
 4. webgarden – no of processes ( yet to confirmed )
 5. Inetinfo.exe – system level
 6. all the worker process runs as network service
 7. We can scale out our web application upto 32 nodes, if we want to scale out to more than 32 nodes we have to use – DNS Round robin
 8. Tools to monitor the IIS Performance – Netmon, Perfmon, logman, tracerpt

presentation for this can be downloaded from Microsoft website @ www.microsoft.com/technet
www.microsoft.com/technet/tnt1-89

Second Session :
As Intel was the official sponsor for this event, so they showcased few latest processor from their lab. As i blogged about 64 bit Operating system, here intel also developed Processor which supports 64 bprocessor OS.

 1. P4 HT (Medium application)
 2. Xeon  (Large scale application or server which executes complex application)
 3. Itanium (Highly complicated application needs this processor)
 4. P2- P square (Medium)
————————————————————————————————–

 MSDN Session ( speaker – gkhanna@microsoft.com – MS evangelist, well known for community member, bit humour person, able to speak more than 4 hours without boring the audience)
 
Session 1: Topic : INDIGO ….Go…GO > GO >> GO >>>>
 
here few caps about Indigo Session,
 
*It is an set of API, Set of namespaces….
*definition – Indigo is a set of .NET technology for building and managing sevice oriented system
*- unified programming model

 
Any transactional Services exposed to non-micosoft needs to go with INDIGO

 1. Web serivies does not support – Transaction
 2. Transaction in Com+
 3. MSn Ques- limited
 4. .NET Remoting – No transaction
so overcome all this above limitation, INDIGO Is only way to go  >>

 We can have more than one entry points for our servie…
asmx- ——
.NET remoting ——
enterprise services ——
system.messaging ———————> Indigo

Before dive into INDIGO , we should know wat is Service Oriented Architecture(SOA). Definetly in future all we coders have to think about SOA.

 SOA is nothing but evolved version of OO(Object Orientation)
 
 SO- Explicit Boundaries, Negotiation via policies, autonomous,Exposed Schema (not datatypes, Schema contract, More than one entry point for the consumer, reuse, dynamic,meaningful information – http, msnq, TCP, Pipe)
 OO – cannot go across compiler

*Remoting is nothing but Exposing contracts

*Marshaling layer –
*UDDI – lookup for webservice
*changin themselves without affecting others
*WSE – webservice Enhancements

www.micrsoft.com/india/msdn/events/presentations.aspxAny

Blogged in laptop, but uploaded today,,,Mahes~

 

2005-04-25 Posted by | ASP.NET >> | Leave a comment

%d bloggers like this: