if u are working with master pages and u are using javascript menus on master to navigate child pages in content place holder.
for that u need to save java script code in a particular folder and give path of that file in master page but as we know that path gets change when ever we go up and down in hierarchical of pages then that menu got disappear because of static path of .js file so we need to give dynamic path for java script file..and to do so we need to write following code to get dynamic path which can work in hierarchical up and down.
below code in design view of master page
< script type="text/javascript" src=" < %# Page.ResolveClientUrl("~/images/right_menu/data.files/rolen.js")% > " > < /script >
and following code in page load of master page
Page.Header.DataBind();
Set Script src from root folder (dynamic)
Labels: ASP.NET
Set Script src from root folder (dynamic)
if u are working with master pages and u are using javascript menus on master to navigate child pages in content place holder.
for that u need to save java script code in a particular folder and give path of that file in master page but as we know that path gets change when ever we go up and down in hierarchical of pages then that menu got disappear because of static path of .js file so we need to give dynamic path for java script file..and to do so we need to write following code to get dynamic path which can work in hierarchical up and down.
below code in design view of master page
< script type="text/javascript" src=" < %# Page.ResolveClientUrl("~/images/right_menu/data.files/rolen.js")% > " > < /script >
and following code in page load of master page
Page.Header.DataBind();
Labels: ASP.NET
Horizontal Menu and Sub Menu
To generate Horizontal Menu and sub menu
< style type="text/css">
#topNav
{
width: 100%;
background-color: #964240;
vertical-align: bottom;
padding: 0;
margin: 0;
z-index: 0;
}
#subNav
{
width: 100%;
border-left: solid 1px #000;
border-bottom: solid 1px #000;
border-right: solid 1px #000;
padding: 0;
margin: 0;
height: 24px;
background-color: #eee;
}
.staticMenuItemStyle
{
width: 89px;
background-color: #7A1312;
border: solid 1px #000;
color: #fff;
text-align: center;
}
.staticSelectedStyle
{
background-color: #eee;
color: #000;
border-bottom: solid 1px #eee;
z-index: 100;
}
.staticHoverStyle
{
background-color: #902423;
}
.substaticMenuItemStyle
{
width: 89px;
background-color: #eee;
text-align: center;
}
.substaticHoverStyle
{
background-color: #D0D0D0;
border: solid 1px #A68F8F;
}
< /style>
< !-- code for design of menus creation, place it in master page or simple page eg:- RolenMaster.master-- >
< div >
< asp:Menu ID="Menu1" OnPreRender="setRef" runat="server" DataSourceID="SiteMapDataSource1" MaximumDynamicDisplayLevels="0" Orientation="Horizontal" >
< StaticMenuItemStyle CssClass="staticMenuItemStyle" / >
< StaticSelectedStyle CssClass="staticSelectedStyle" / >
< StaticHoverStyle CssClass="staticHoverStyle" / >
< /asp:Menu >
< asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" / >
< asp:Menu ID="Menu2" runat="server" DataSourceID="SiteMapDataSource2" MaximumDynamicDisplayLevels="0" Orientation = "Horizontal" >
< StaticMenuItemStyle CssClass="substaticMenuItemStyle" / >
< StaticHoverStyle CssClass="substaticHoverStyle" / >
< /asp:Menu >
< asp:SiteMapDataSource ID="SiteMapDataSource2" runat="server" ShowStartingNode="false" StartingNodeOffset="1" / >
< asp:ContentPlaceHolder OnPreRender="getRef" ID="ContentPlaceHolder2" runat="server" >
< /asp:ContentPlaceHolder >
< /div >
< !-- code in RolenMaster.Master.cs, code file of above page -->
protected void setRef(object sender, EventArgs e)
{
if (Menu1.SelectedItem != null) Session["lastTopMenuItemDataPath"] = Menu1.SelectedItem.DataPath;
}
protected void getRef(object sender, EventArgs e)
{
string ldp = Session["lastTopMenuItemDataPath"] == null ? "" : Session["lastTopMenuItemDataPath"].ToString();
if (ldp != null) foreach (MenuItem m in Menu1.Items) m.Selected = (m.DataPath == ldp && Menu2.Items.Count != 0);
}
< !-- site map -- >
< ?xml version="1.0" encoding="utf-8" ? >
< siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
< siteMapNode url="WebForm1.aspx" title="root" >
< siteMapNode url="WebForm1.aspx?ctrlID=1000" title="Admin" >
< siteMapNode url="WebForm1.aspx?ctrlID=1001" title="Create Project" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1002" title="Create Workflow" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1003" title="test" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1004" title="not found" > < /siteMapNode >
< /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1100" title="Browse" >
< siteMapNode url="WebForm1.aspx?ctrlID=1101" title="Browse Projects" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1102" title="Browse Workflows" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1103" title="Welcome page" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1104" title="Two.Four" > < /siteMapNode >
< /siteMapNode >
< /siteMapNode >
< /siteMap >
Labels: ASP.NET
Horizontal Menu and Sub Menu
To generate Horizontal Menu and sub menu
< style type="text/css">
#topNav
{
width: 100%;
background-color: #964240;
vertical-align: bottom;
padding: 0;
margin: 0;
z-index: 0;
}
#subNav
{
width: 100%;
border-left: solid 1px #000;
border-bottom: solid 1px #000;
border-right: solid 1px #000;
padding: 0;
margin: 0;
height: 24px;
background-color: #eee;
}
.staticMenuItemStyle
{
width: 89px;
background-color: #7A1312;
border: solid 1px #000;
color: #fff;
text-align: center;
}
.staticSelectedStyle
{
background-color: #eee;
color: #000;
border-bottom: solid 1px #eee;
z-index: 100;
}
.staticHoverStyle
{
background-color: #902423;
}
.substaticMenuItemStyle
{
width: 89px;
background-color: #eee;
text-align: center;
}
.substaticHoverStyle
{
background-color: #D0D0D0;
border: solid 1px #A68F8F;
}
< /style>
< !-- code for design of menus creation, place it in master page or simple page eg:- RolenMaster.master-- >
< div >
< asp:Menu ID="Menu1" OnPreRender="setRef" runat="server" DataSourceID="SiteMapDataSource1" MaximumDynamicDisplayLevels="0" Orientation="Horizontal" >
< StaticMenuItemStyle CssClass="staticMenuItemStyle" / >
< StaticSelectedStyle CssClass="staticSelectedStyle" / >
< StaticHoverStyle CssClass="staticHoverStyle" / >
< /asp:Menu >
< asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" / >
< asp:Menu ID="Menu2" runat="server" DataSourceID="SiteMapDataSource2" MaximumDynamicDisplayLevels="0" Orientation = "Horizontal" >
< StaticMenuItemStyle CssClass="substaticMenuItemStyle" / >
< StaticHoverStyle CssClass="substaticHoverStyle" / >
< /asp:Menu >
< asp:SiteMapDataSource ID="SiteMapDataSource2" runat="server" ShowStartingNode="false" StartingNodeOffset="1" / >
< asp:ContentPlaceHolder OnPreRender="getRef" ID="ContentPlaceHolder2" runat="server" >
< /asp:ContentPlaceHolder >
< /div >
< !-- code in RolenMaster.Master.cs, code file of above page -->
protected void setRef(object sender, EventArgs e)
{
if (Menu1.SelectedItem != null) Session["lastTopMenuItemDataPath"] = Menu1.SelectedItem.DataPath;
}
protected void getRef(object sender, EventArgs e)
{
string ldp = Session["lastTopMenuItemDataPath"] == null ? "" : Session["lastTopMenuItemDataPath"].ToString();
if (ldp != null) foreach (MenuItem m in Menu1.Items) m.Selected = (m.DataPath == ldp && Menu2.Items.Count != 0);
}
< !-- site map -- >
< ?xml version="1.0" encoding="utf-8" ? >
< siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
< siteMapNode url="WebForm1.aspx" title="root" >
< siteMapNode url="WebForm1.aspx?ctrlID=1000" title="Admin" >
< siteMapNode url="WebForm1.aspx?ctrlID=1001" title="Create Project" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1002" title="Create Workflow" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1003" title="test" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1004" title="not found" > < /siteMapNode >
< /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1100" title="Browse" >
< siteMapNode url="WebForm1.aspx?ctrlID=1101" title="Browse Projects" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1102" title="Browse Workflows" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1103" title="Welcome page" > < /siteMapNode >
< siteMapNode url="WebForm1.aspx?ctrlID=1104" title="Two.Four" > < /siteMapNode >
< /siteMapNode >
< /siteMapNode >
< /siteMap >
Labels: ASP.NET
Stop Refresh in Master / Child Page.
instead of using Master page use frame set to avoid refresh when click from menu to open a page
Steps:
1. add a webpage in ur application
2. add following code in design
< head runat="server">
< title>Untitled Page< /title>
< /head>
< frameset framespacing ="0" rows="100,*,50" noresize="yes">
< frame name="menu" src="headerpage.aspx" noresize scrolling="no" />
< frame name="content" src="" scrolling="auto" />
< frame name="footer" src="footerpage.aspx" noresize scrolling="auto" />
< noframes>
< body>
< p> your browser not support framesets< /p>
< /body>
< /noframes>
< /frameset>
3. add a webpage in ur application which will contain data of header
add following code in it (menu of header) to open pages in content area of page u added in step1
protected void Button1_Click(object sender, EventArgs e)
{
string url = "studentdetails.aspx";
string framescript = "";
Page.ClientScript.RegisterStartupScript(this.GetType(),"FrameScript",framescript);
}
4. add a webpage in ur application which will contain data of footer
Labels: ASP.NET , Master Pages
Stop Refresh in Master / Child Page.
instead of using Master page use frame set to avoid refresh when click from menu to open a page
Steps:
1. add a webpage in ur application
2. add following code in design
< head runat="server">
< title>Untitled Page< /title>
< /head>
< frameset framespacing ="0" rows="100,*,50" noresize="yes">
< frame name="menu" src="headerpage.aspx" noresize scrolling="no" />
< frame name="content" src="" scrolling="auto" />
< frame name="footer" src="footerpage.aspx" noresize scrolling="auto" />
< noframes>
< body>
< p> your browser not support framesets< /p>
< /body>
< /noframes>
< /frameset>
3. add a webpage in ur application which will contain data of header
add following code in it (menu of header) to open pages in content area of page u added in step1
protected void Button1_Click(object sender, EventArgs e)
{
string url = "studentdetails.aspx";
string framescript = "";
Page.ClientScript.RegisterStartupScript(this.GetType(),"FrameScript",framescript);
}
4. add a webpage in ur application which will contain data of footer
Labels: ASP.NET , Master Pages
.NET Architect
Two types of architects are their
1. The software architect (solution architect)
2. The enterprise architect (binding business needs into the overall system/software architecture.
A good architect in my opinion should have the following characteristics regardless of technology:
1. The ability to take a complex problem and break it down into simple well defined manageable subcomponents that are loosely coupled. This reduces tight dependences, whereby, the architect can farm out subcomponents. Thus, allowing for true parallel development across a large team.
2. Architect and design a solid base application framework that allows for extensibility and ease of maintainability. In essence, design a system that can withstand the test of time, as well as meet other tenets of industrial-strength software.
3. Ensure that the application scales, and meet or exceed SLA commitments (i.e. security, performance, durability, robustness, etc)
4. Use best practices and architectural design patterns within reasons: DON’T over-engineering the system to death.
5. Do more with less: Use proven technologies and reusable library frameworks
6. Ensure that the system is highly automated, requiring little to no operator intervention, thus, reducing the Total Cost of Ownership (TCO)
7. Has a lot of real experience in truly distributed architectures. Someone who can talk-the-talk and walk-the-walk.
8. Enterprise architects should be very much able to defend, promote and sell the business case for the architecture to be of true value for the customer/company implementing their architecture. Unfortunately this comes with political skills as well, and these are normally obtained through years of experience in the field.
9. Enterprise Architect is much different than a Solutions Architect. Enterprise Architect is an individual that can walk into a business and model the business processes, lead the development of a strategic plan, etc. i.e. if you are familiar with the zachman framework (as an example, I know others exist) and have experience in that arena, you'll understand what an EA is. A solutions Architect can take a describe box or boxes and put together a solution. They can also provide guidance on standards, technology choices, etc. Finally, they help lead the development efforts with the technical team and provide a liason between the business and technical side. The sometimes work at a level similiar to a PM on a project, but not always.
10. A Solutions Architect is not just someone who understands technology. An SA understand people, understands the business, understands the technology, and has the experience necessary to meet the requirements on time, on budget, with customer satisfaction.
11. He should be familiar with all the latest fashion in software production with a rock solid discernment to shift out the gold from the fluff. In other words, able to choose the right path into the future.
12. Strive for KISS in all situation. He always keep "well-meaning impractical theorists" out of the project.
13. He is a good programmer (takes one to know one) but do not compete with his staff in the project.
14. He has experience before of the businessdomain of the project.
15. An architect mitigates the technical risks associated with a system. A technical risk is something that is unknown, unproven, or untested. Risks are usually associated with the service-level requirements and can occasionally be associated with a business requirement. Regardless of the type of risk, it is easier to address the risks early in the project while creating an architecture, then to wait until construction when you have a large developer base that could potentially be waiting while risks are solved.
16. An architect must lead the development team to ensure the designers and developers build the system according to the architecture. As the leader, difficult decisions must be made about trade-offs in the system and the architect is the person who must make those decisions. To lead, the architect must be a good written and oral communicator. It is up to the architect to communicate the system to the designers and developers who will build it. This is typically done with visual models and group discussions. If the architect cannot communicate effectively, then the designers and developers will probably not build the system correctly.
17. An architect should be able to produce and effect a business solution using whatever tools are reasonably and readily made available.
18. A true architect is resourceful enough to look at the problem, find and gain a knowledge of the basic resources (technologies and people) necessary to construct a solution that meets the immediate business need.
Microsoft Certified Architect Programs
The Microsoft Certified Architect (MCA) programs identify and certify top industry experts in IT architecture. Microsoft Certified Architects have proven experience designing and delivering the right IT solutions for enterprise customers. These MCA professionals typically have five or more years of advanced IT architecture experience, possess expert technical and leadership skills, and become part of an exclusive, world-class community of experts who continually collaborate on best practices within the IT industry. MCA candidates must definitively showcase seven competencies of business acumen and technological proficiency to a panel of industry experts in a Review Board interview in order to achieve the MCA credential. MCA certification was built by and for industry architects.
Labels: ASP.NET
.NET Architect
Two types of architects are their
1. The software architect (solution architect)
2. The enterprise architect (binding business needs into the overall system/software architecture.
A good architect in my opinion should have the following characteristics regardless of technology:
1. The ability to take a complex problem and break it down into simple well defined manageable subcomponents that are loosely coupled. This reduces tight dependences, whereby, the architect can farm out subcomponents. Thus, allowing for true parallel development across a large team.
2. Architect and design a solid base application framework that allows for extensibility and ease of maintainability. In essence, design a system that can withstand the test of time, as well as meet other tenets of industrial-strength software.
3. Ensure that the application scales, and meet or exceed SLA commitments (i.e. security, performance, durability, robustness, etc)
4. Use best practices and architectural design patterns within reasons: DON’T over-engineering the system to death.
5. Do more with less: Use proven technologies and reusable library frameworks
6. Ensure that the system is highly automated, requiring little to no operator intervention, thus, reducing the Total Cost of Ownership (TCO)
7. Has a lot of real experience in truly distributed architectures. Someone who can talk-the-talk and walk-the-walk.
8. Enterprise architects should be very much able to defend, promote and sell the business case for the architecture to be of true value for the customer/company implementing their architecture. Unfortunately this comes with political skills as well, and these are normally obtained through years of experience in the field.
9. Enterprise Architect is much different than a Solutions Architect. Enterprise Architect is an individual that can walk into a business and model the business processes, lead the development of a strategic plan, etc. i.e. if you are familiar with the zachman framework (as an example, I know others exist) and have experience in that arena, you'll understand what an EA is. A solutions Architect can take a describe box or boxes and put together a solution. They can also provide guidance on standards, technology choices, etc. Finally, they help lead the development efforts with the technical team and provide a liason between the business and technical side. The sometimes work at a level similiar to a PM on a project, but not always.
10. A Solutions Architect is not just someone who understands technology. An SA understand people, understands the business, understands the technology, and has the experience necessary to meet the requirements on time, on budget, with customer satisfaction.
11. He should be familiar with all the latest fashion in software production with a rock solid discernment to shift out the gold from the fluff. In other words, able to choose the right path into the future.
12. Strive for KISS in all situation. He always keep "well-meaning impractical theorists" out of the project.
13. He is a good programmer (takes one to know one) but do not compete with his staff in the project.
14. He has experience before of the businessdomain of the project.
15. An architect mitigates the technical risks associated with a system. A technical risk is something that is unknown, unproven, or untested. Risks are usually associated with the service-level requirements and can occasionally be associated with a business requirement. Regardless of the type of risk, it is easier to address the risks early in the project while creating an architecture, then to wait until construction when you have a large developer base that could potentially be waiting while risks are solved.
16. An architect must lead the development team to ensure the designers and developers build the system according to the architecture. As the leader, difficult decisions must be made about trade-offs in the system and the architect is the person who must make those decisions. To lead, the architect must be a good written and oral communicator. It is up to the architect to communicate the system to the designers and developers who will build it. This is typically done with visual models and group discussions. If the architect cannot communicate effectively, then the designers and developers will probably not build the system correctly.
17. An architect should be able to produce and effect a business solution using whatever tools are reasonably and readily made available.
18. A true architect is resourceful enough to look at the problem, find and gain a knowledge of the basic resources (technologies and people) necessary to construct a solution that meets the immediate business need.
Microsoft Certified Architect Programs
The Microsoft Certified Architect (MCA) programs identify and certify top industry experts in IT architecture. Microsoft Certified Architects have proven experience designing and delivering the right IT solutions for enterprise customers. These MCA professionals typically have five or more years of advanced IT architecture experience, possess expert technical and leadership skills, and become part of an exclusive, world-class community of experts who continually collaborate on best practices within the IT industry. MCA candidates must definitively showcase seven competencies of business acumen and technological proficiency to a panel of industry experts in a Review Board interview in order to achieve the MCA credential. MCA certification was built by and for industry architects.
Labels: ASP.NET
How to provide background image in TD from root path
use this code to provid background image url for TD which map to root path
< td align="left" background=' < %= Server.MapPath("~/images/rolen.gif") %>' >
u can also use this code also
< td align="left" background=' < %= ResolveClientUrl("~/images/box.gif") %>' >
well i prefer second "ResolveClientUrl" becoz ther Server.MapPath map path at server like c:\rajesh\rolen\mukesh.jpg
Labels: ASP.NET
How to provide background image in TD from root path
use this code to provid background image url for TD which map to root path
< td align="left" background=' < %= Server.MapPath("~/images/rolen.gif") %>' >
u can also use this code also
< td align="left" background=' < %= ResolveClientUrl("~/images/box.gif") %>' >
well i prefer second "ResolveClientUrl" becoz ther Server.MapPath map path at server like c:\rajesh\rolen\mukesh.jpg
Labels: ASP.NET
Set Master Page at Runtime
to set master page for any page at run time. u need to write following code
protected void Page_PreInit(object sender, EventArgs e)
{
this.MasterPageFile = "~/Business_Partner/businesspartner.Master";
}
but page should contain contentplaceholder of same name as it is in master which u are assigning it.
Labels: ASP.NET , Master Pages
Set Master Page at Runtime
to set master page for any page at run time. u need to write following code
protected void Page_PreInit(object sender, EventArgs e)
{
this.MasterPageFile = "~/Business_Partner/businesspartner.Master";
}
but page should contain contentplaceholder of same name as it is in master which u are assigning it.
Labels: ASP.NET , Master Pages
Disable all validations for specific control
asp:Button ID="OkButton" runat="server" CausesValidation="false" Text="OK" OnClick="onOk"
set property named : CausesValidation to false if u want to disable validation for particular control
CausesValidation="false"
Labels: ASP.NET
Disable all validations for specific control
asp:Button ID="OkButton" runat="server" CausesValidation="false" Text="OK" OnClick="onOk"
set property named : CausesValidation to false if u want to disable validation for particular control
CausesValidation="false"
Labels: ASP.NET
Microsoft Most Valuable Professionals (MVPs)
Microsoft Most Valuable Professionals (MVPs) are exceptional technical community leaders from around the world who are awarded for voluntarily sharing their high quality, real world expertise in offline and online technical communities. Microsoft MVPs are a highly select group of experts that represents the technical community's best and brightest, and they share a deep commitment to community and a willingness to help others.
Labels: MVP
Microsoft Most Valuable Professionals (MVPs)
Microsoft Most Valuable Professionals (MVPs) are exceptional technical community leaders from around the world who are awarded for voluntarily sharing their high quality, real world expertise in offline and online technical communities. Microsoft MVPs are a highly select group of experts that represents the technical community's best and brightest, and they share a deep commitment to community and a willingness to help others.
Labels: MVP
Unable to connect to the Asp.net development Server
Many of times developer of Asp.net face problem that when they run web application they got this error message "Unable to connect to the Asp.net development Server" and their application not run..so to solve such a problem.
Labels: ASP.NET
Unable to connect to the Asp.net development Server
Many of times developer of Asp.net face problem that when they run web application they got this error message "Unable to connect to the Asp.net development Server" and their application not run..so to solve such a problem.
Labels: ASP.NET
What is new in ASP.NET 3.5
Labels: ASP.NET , New Technologies
What is new in ASP.NET 3.5
Labels: ASP.NET , New Technologies
Labels:
ASP.NET
Labels:
ASP.NET
Labels:
ASP.NET
Labels:
ASP.NET
RSS stands for (Really Simple Syndication). Basically RSS feeds are xml files which are provided by many websites so you can view their contents on your own websites rather than browsing their site. Suppose you are a movie lover and you want to get the list of top 5 movies from 10 websites. One way will be to visit all 10 websites and see the top 5 list. This method though is used in general by lot of people but its quite tiring method. It will take you 10-15 minutes to browse all the websites and see the top 5 list of movies. One easy way will be if those movie websites provides RSS feeds to be used by the users. If they provide RSS feeds you can embed them in your page and now you don't have to browse all the websites since the information is available on a single page. Hence, this saves you a time and a lot of browsing. Most of the Blogs websites provide RSS feeds so you can embed your or someone's else latest entries of blog on your website. In this article we will see how we can embed RSS feeds to our webform using Asp.net.
Labels:
ASP.NET
RSS stands for (Really Simple Syndication). Basically RSS feeds are xml files which are provided by many websites so you can view their contents on your own websites rather than browsing their site. Suppose you are a movie lover and you want to get the list of top 5 movies from 10 websites. One way will be to visit all 10 websites and see the top 5 list. This method though is used in general by lot of people but its quite tiring method. It will take you 10-15 minutes to browse all the websites and see the top 5 list of movies. One easy way will be if those movie websites provides RSS feeds to be used by the users. If they provide RSS feeds you can embed them in your page and now you don't have to browse all the websites since the information is available on a single page. Hence, this saves you a time and a lot of browsing. Most of the Blogs websites provide RSS feeds so you can embed your or someone's else latest entries of blog on your website. In this article we will see how we can embed RSS feeds to our webform using Asp.net.
Labels:
ASP.NET
As mentioned on the .NET Framework page, .NET Framework is designed for cross-language compatibility. Cross-language compatibility means .NET components can interact with each other irrespective of the languages they are written in. An application written in VB .NET can reference a DLL file written in C# or a C# application can refer to a resource written in VC++, etc. This language interoperability extends to Object-Oriented inheritance.
Labels:
ASP.NET
As mentioned on the .NET Framework page, .NET Framework is designed for cross-language compatibility. Cross-language compatibility means .NET components can interact with each other irrespective of the languages they are written in. An application written in VB .NET can reference a DLL file written in C# or a C# application can refer to a resource written in VC++, etc. This language interoperability extends to Object-Oriented inheritance.
Labels:
ASP.NET
Copyright 2009 -
DotNet Academy of Rajesh Rolen
tag. You also get a rich set of templates with the ListView control.
tag. You also get a rich set of templates with the ListView control.
Using Extension Methods
Using Extension Methods
RSS (How to use RSS in ASP.NET)
RSS (How to use RSS in ASP.NET)
.NET Framework and Languages
This cross-language compatibility is possible due to common language runtime. As you read on the .NET Framework page, when the .NET program is compiled, the output of the compiler is not an executable file but a file that contains a special type of code called the Microsoft Intermediate Language (MSIL). This MSIL is a low-level language which is designed to be read and understood by the common language runtime. Because all .NET executables exist as IL, they can freely operate. The Common Language Specification defines the minimum standards that .NET language compliers must confirm to. Thus, any code compiled by a .NET complier can interoperate with the .NET Framework.
The Common Type System (CTS) defines the rules concerning data types and ensures that code is executed in a safe environment. Since all .NET applications are converted to IL before execution all primitive data types are represented as .NET types. This means that, a VB Integer and a C# int are both represented in IL code as System.Int32. Because both the languages use a common and interconvertible type system, it is possible to transfer data between components and avoid time-consuming conversions.
Languages supported by .NET Framework
The table below lists all the languages supported by the .NET Framework and describes those languages. The languages listed below are supported by the .NET Framework upto the year 2003. In future there may be other languages that the .NET Framework might support.
APL-> APL is one of the most powerful, consistent and concise computer programming languages ever devised. It is a language for describing procedures in the processing of information. It can be used to describe mathematical procedures having nothing to do with computers or to describe the way a computer works.
C++ -> C++ is a true OOP. It is one of the early Object-Oriented programming languages. C++ derives from the C language.
VC++ ->Visual C++ is the name of a C++ compiler with an integrated environment from Microsoft. This includes special tools that simplify the development of great applications, as well as specific libraries. Its use is known as visual programming.
C# -> C# called as C Sharp is a full fledged Object-Oriented programming language from Microsoft built into the .NET Framework. First created in the late 1990’s was part of Microsoft’s whole .NET strategy.
Cobol -> COBOL (Common Business Oriented Language) was the first widely-used high-level programming language for business applications. It is considered as a programming language to have more lines of code than any other language. Component Pascal Component Pascal is a Pascal derived programming language that is specifically designed for programming software components. Curriculum No information.
Eiffel -> Eiffel is an Object-Oriented (OO) programming language which emphasizes the production of robust software. Eiffel is strongly statically typed mature Object-Oriented language with automatic memory management.
Forth -> Forth is a programming language and programming environment. It features both interactive execution of commands (making it suitable as a shell for systems that lack a more formal operating system), as well as the ability to compile sequences of commands into threaded code for later execution.
Fortran -> Acronym for Formula Translator, Fortran is one of the oldest high-level programming languages that is still widely used in scientific computing because of its compact notation for equations, ease in handling large arrays, and huge selection of library routines for solving mathematical problems efficiently.
Haskell -> Haskell is a computer programming language that is a polymorphicly typed, lazy, purely functional language, quite different from most other programming languages. It is a wide-spectrum language, suitable for a variety of applications. It is particularly suitable for programs which need to be highly modifiable and maintainable.
Java Language -> The Java language is one of the most powerful Object-Oriented programming languages developed till date. It's platform independence (not depending on a particular OS) feature makes it a very popular programming language.
Microsoft JScript -> Microsoft JScript is the Microsoft implementation of the ECMA 262 language specification. JScript is an interpreted, object-based scripting language. It has fewer capabilities than full-fledged Object-Oriented languages like C++ but is more than sufficiently powerful for its intended purposes.
Mercury -> Mercury is a new logic/functional programming language, which combines the clarity and expressiveness of declarative programming with advanced static analysis and error detection features. Its highly optimized execution algorithm delivers efficiency far in excess of existing logic programming systems, and close to conventional programming systems. Mercury addresses the problems of large-scale program development, allowing modularity, separate compilation, and numerous optimization/time trade-offs.
Mondrian->Mondrian is a simple functional scripting language for Internet applications. It is a functional language specifically designed to inter-operate with other languages in an OO environment. Current versions of Mondrian run on .NET. Mondrian also supports ASP.NET, allowing you to embed functional language code in web pages along with C# code.
Oberon -> Oberon is a programming language very much like Modula-2 in syntax but with several interesting features. It's based on OOP concepts and provides a Windows-based graphical user interface.
Oz -> Oz is a high-level programming language that combines constraint inference with concurrency. Oz is dynamically typed and has first-class procedures, classes, objects, exceptions and sequential threads synchronizing over a constraint store. It supports finite domain and feature constraints and has powerful primitives for programming constraint inference engines at a high level.
Pascal -> Principle objectives for Pascal were for the language to be efficent to implement and run, allow for the development of well structured and well organized programs, and to serve as a vehicle for the teaching of the important concepts of computer programming. The Prime area of application that Pascal entails is the learning environment. This language was not really developed to be used for anything other than teaching students the basics of programming as it was originally developed for this purpose.
Perl -> Practical Extraction and Report Language, Perl, is a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for many system management tasks.
Python -> Python is an interpreted, interactive, Object-Oriented programming language. Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing.
RPG -> Report Program Generator, RPG, is used for generation of reports from data files, including matching record and sub-total reports. RPG is one of the few languages created for punch card machines that is still in common use today. RPG or RPG IV is a native programming language for IBM's iSeries minicomputer system.
Scheme -> Scheme is a statically scoped programming language. It was designed to have an exceptionally clear and simple semantics and few different ways to form expressions. A wide variety of programming paradigms, including imperative, functional, and message passing styles, find convenient expression in Scheme.
Small Talk -> SmallTalk is an expressive language that uses a simple sub set of human languages, nouns and verbs. Smalltalk was the first, and remains one of the few, pure object systems, which simply means that everything in a Smalltalk program is an object. Smalltalk is generally recognized as the second Object Programming Language (OPL).
Standard ML-> Standard ML is a safe, modular, strict, functional, polymorphic programming language with compile-time type checking and type inference, garbage collection, exception handling, immutable data types and updatable references, abstract data types, and parametric modules. It has efficient implementations and a formal definition with a proof of soundness.
Microsoft Visual Basic-> Visual Basic is a "visual programming" environment for developing Windows applications. Visual Basic makes it possible to develop complicated applications very quickly. This site is all about Visual Basic.
.NET Framework and Languages
This cross-language compatibility is possible due to common language runtime. As you read on the .NET Framework page, when the .NET program is compiled, the output of the compiler is not an executable file but a file that contains a special type of code called the Microsoft Intermediate Language (MSIL). This MSIL is a low-level language which is designed to be read and understood by the common language runtime. Because all .NET executables exist as IL, they can freely operate. The Common Language Specification defines the minimum standards that .NET language compliers must confirm to. Thus, any code compiled by a .NET complier can interoperate with the .NET Framework.
The Common Type System (CTS) defines the rules concerning data types and ensures that code is executed in a safe environment. Since all .NET applications are converted to IL before execution all primitive data types are represented as .NET types. This means that, a VB Integer and a C# int are both represented in IL code as System.Int32. Because both the languages use a common and interconvertible type system, it is possible to transfer data between components and avoid time-consuming conversions.
Languages supported by .NET Framework
The table below lists all the languages supported by the .NET Framework and describes those languages. The languages listed below are supported by the .NET Framework upto the year 2003. In future there may be other languages that the .NET Framework might support.
APL-> APL is one of the most powerful, consistent and concise computer programming languages ever devised. It is a language for describing procedures in the processing of information. It can be used to describe mathematical procedures having nothing to do with computers or to describe the way a computer works.
C++ -> C++ is a true OOP. It is one of the early Object-Oriented programming languages. C++ derives from the C language.
VC++ ->Visual C++ is the name of a C++ compiler with an integrated environment from Microsoft. This includes special tools that simplify the development of great applications, as well as specific libraries. Its use is known as visual programming.
C# -> C# called as C Sharp is a full fledged Object-Oriented programming language from Microsoft built into the .NET Framework. First created in the late 1990’s was part of Microsoft’s whole .NET strategy.
Cobol -> COBOL (Common Business Oriented Language) was the first widely-used high-level programming language for business applications. It is considered as a programming language to have more lines of code than any other language. Component Pascal Component Pascal is a Pascal derived programming language that is specifically designed for programming software components. Curriculum No information.
Eiffel -> Eiffel is an Object-Oriented (OO) programming language which emphasizes the production of robust software. Eiffel is strongly statically typed mature Object-Oriented language with automatic memory management.
Forth -> Forth is a programming language and programming environment. It features both interactive execution of commands (making it suitable as a shell for systems that lack a more formal operating system), as well as the ability to compile sequences of commands into threaded code for later execution.
Fortran -> Acronym for Formula Translator, Fortran is one of the oldest high-level programming languages that is still widely used in scientific computing because of its compact notation for equations, ease in handling large arrays, and huge selection of library routines for solving mathematical problems efficiently.
Haskell -> Haskell is a computer programming language that is a polymorphicly typed, lazy, purely functional language, quite different from most other programming languages. It is a wide-spectrum language, suitable for a variety of applications. It is particularly suitable for programs which need to be highly modifiable and maintainable.
Java Language -> The Java language is one of the most powerful Object-Oriented programming languages developed till date. It's platform independence (not depending on a particular OS) feature makes it a very popular programming language.
Microsoft JScript -> Microsoft JScript is the Microsoft implementation of the ECMA 262 language specification. JScript is an interpreted, object-based scripting language. It has fewer capabilities than full-fledged Object-Oriented languages like C++ but is more than sufficiently powerful for its intended purposes.
Mercury -> Mercury is a new logic/functional programming language, which combines the clarity and expressiveness of declarative programming with advanced static analysis and error detection features. Its highly optimized execution algorithm delivers efficiency far in excess of existing logic programming systems, and close to conventional programming systems. Mercury addresses the problems of large-scale program development, allowing modularity, separate compilation, and numerous optimization/time trade-offs.
Mondrian->Mondrian is a simple functional scripting language for Internet applications. It is a functional language specifically designed to inter-operate with other languages in an OO environment. Current versions of Mondrian run on .NET. Mondrian also supports ASP.NET, allowing you to embed functional language code in web pages along with C# code.
Oberon -> Oberon is a programming language very much like Modula-2 in syntax but with several interesting features. It's based on OOP concepts and provides a Windows-based graphical user interface.
Oz -> Oz is a high-level programming language that combines constraint inference with concurrency. Oz is dynamically typed and has first-class procedures, classes, objects, exceptions and sequential threads synchronizing over a constraint store. It supports finite domain and feature constraints and has powerful primitives for programming constraint inference engines at a high level.
Pascal -> Principle objectives for Pascal were for the language to be efficent to implement and run, allow for the development of well structured and well organized programs, and to serve as a vehicle for the teaching of the important concepts of computer programming. The Prime area of application that Pascal entails is the learning environment. This language was not really developed to be used for anything other than teaching students the basics of programming as it was originally developed for this purpose.
Perl -> Practical Extraction and Report Language, Perl, is a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for many system management tasks.
Python -> Python is an interpreted, interactive, Object-Oriented programming language. Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing.
RPG -> Report Program Generator, RPG, is used for generation of reports from data files, including matching record and sub-total reports. RPG is one of the few languages created for punch card machines that is still in common use today. RPG or RPG IV is a native programming language for IBM's iSeries minicomputer system.
Scheme -> Scheme is a statically scoped programming language. It was designed to have an exceptionally clear and simple semantics and few different ways to form expressions. A wide variety of programming paradigms, including imperative, functional, and message passing styles, find convenient expression in Scheme.
Small Talk -> SmallTalk is an expressive language that uses a simple sub set of human languages, nouns and verbs. Smalltalk was the first, and remains one of the few, pure object systems, which simply means that everything in a Smalltalk program is an object. Smalltalk is generally recognized as the second Object Programming Language (OPL).
Standard ML-> Standard ML is a safe, modular, strict, functional, polymorphic programming language with compile-time type checking and type inference, garbage collection, exception handling, immutable data types and updatable references, abstract data types, and parametric modules. It has efficient implementations and a formal definition with a proof of soundness.
Microsoft Visual Basic-> Visual Basic is a "visual programming" environment for developing Windows applications. Visual Basic makes it possible to develop complicated applications very quickly. This site is all about Visual Basic.
About this blog
Blog Archive
Labels
My Blog List
Advertise On This Site
Categories
Site Info
Advertise on this Site
Information Source
About
Pages
Dot Net Academy
Advertis in This Area of Site
Followers
About Me
Blog Archive
Search This Blog
Web Designer: Ray Creations. Sponsored by Web Hosting India & Web Design Company