Thursday, August 25, 2011

How to uncompress CSS or Indent CSS Tag

To uncompress CSS or to restore line break and tab or format css back to state before it was compress, then use this utility.

1) Create one empty web application.

2) On Default.aspx add following lines of code. Following line of code will create one text box to input css, button to Indent CSS tag
Welcome to My CSS Indenting Application
<asp:TextBox ID="txtCSSInput" runat="server" TextMode="MultiLine" Rows="10" Columns="50"></asp:TextBox>
<asp:Button ID="btnIndentCSS" runat="server" Text="Click to Indent CSS"
onclick="btnIndentCSS_Click" />
<asp:Label ID="lblDisplayCSS" runat="server" Text=""></asp:Label>

3) Add following line of code in Code behind (Default.aspx.cs)
protected void btnIndentCSS_Click(object sender, EventArgs e)
lblDisplayCSS.Text = txtCSSInput.Text
.Replace(".", "<br/>.")
.Replace("}#", "}<br/>#")
.Replace(";", ";<br/>")
.Replace("{", "{<br/>")
.Replace("}", "}<br/><br/>");

That's it and you are done!

Tuesday, August 02, 2011

Video Tutorial for Visual Studio LightSwitch

With Visual studio, we can build application faster, but with Visual Studio LightSwitch we might be up and running even faster than that.

Watch this video, to know more about what i am talking

Video Tutorial for Visual Studio LightSwitch

Creating Your First Business Application
Learn How to create new tables of data, connect to existing data, and how to customize how the data is displayed using the five default screen templates.

Data, Queries and Code in LightSwitch
Learn How to use new and existing data sources within your LightSwitch application.

Controlling Access to Your Business Application
Learn the basic concepts of authentication (identifying someone) and authorization (allowing someone access) and how to build them into your business application using Visual Studio LightSwitch 2011.

Publishing Your LightSwitch Application
With integrated support for publishing to Windows, Windows Server and Windows Azure, you can create one application that can be deployed online, on desktops, or in the cloud. After your application is built, Visual Studio LightSwitch 2011 can help you choose a deployment method.

Understanding the LightSwitch Architecture
Developing business applications with Visual Studio LightSwitch 2011 only requires taking advantage of designers and templates. Coding is optional.  However, you might be wondering how LightSwitch applications work. Learn about the design decisions and technologies used for creating LightSwitch applications.

Deploying Your Application to the Cloud
You can deploy your LightSwitch application to Windows Azure from within Visual Studio LightSwitch 2011.  Learn how to deploy your LightSwitch application to the cloud.

Advanced LightSwitch Customization
Build applications that look as if they were designed by a professional designer. Visual Studio LightSwitch 2011 comes with an extensible set of pre-built Application Shells that give your application the familiar look & feel of popular Microsoft software, like Office and Windows, with little effort.

Advanced LightSwitch Extensions
There are times when you might want to create a LightSwitch application that goes beyond what is included with Visual Studio LightSwitch 2011.  In these situations, you can add extensions and application shells from third-party vendors or the community to add functionality or to change the look and feel of your LightSwitch application.  Or, you can use Visual Studio 2010 to create your own.

DevExpress LightSwitch Extensions
Learn How the DevExpress XtraReports Suite for LightSwitch provides a rich design experience to simplify the report generation process and to help you create compelling and informational reports with ease.

Infragistics LightSwitch Extensions
Learn How Infragistics NetAdvantage for LightSwitch enables the LightSwitch user to easily create and style high-performance, full featured user interfaces effortlessly.

RSSBus LightSwitch Extensions
Learn How the new RSSBus Data Providers for LightSwitch will let you easily build applications that connect to Google, QuickBooks,, SharePoint, PowerShell, and more in minutes using standard Visual Studio Wizards.

Download Visual Studio LightSwitch 2011

Beginner's Tutorial for Visual Studio LightSwitch

Most Recent Post

Subscribe Blog via Email

Enter your email address:

Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.
Page copy protected against web site content infringement by Copyscape