|
Mirrored Weblogs
-
This is the second post in a series of posts titled "What's new in ASP.Net 4.5 and VS 2012".You can have a look at the first post in this series, here . Please find all my posts regarding VS 2012, here . In this post I will be looking into the various new features available in ASP.Net 4.5 and VS 2012 .I will be looking into the enhancements in the HTML Editor,CSS Editor and Javascript Editor. In order to follow along this post you must have Visual Studio 2012 and .Net Framework 4.5 installed in your machine.Download and install VS 2012 using this link . My machine runs on Windows 8 and Visual Studio 2012 works just fine.I will work fine in Windows 7 as well so do not worry if you do not have the latest Microsoft operating system. 1) Launch VS 2012 and create a new Web Forms application by going to File - >New Web Site - > ASP.Net Web Forms Site. 2) Choose an appropriate name for your web site. 3) I would like to point out the new enhancements in the CSS editor in VS 2012. In the Solution Explorer in the...
|
-
I have downloaded .Net framework 4.5 and Visual Studio 2012 since it was released to MSDN subscribers on the 15th of August.For people that do not know about that yet please have a look at Jason Zander's excellent blog post . Since then I have been investigating the many new features that have been introduced in this release.In this post I will be looking into new features available in ASP.Net 4.5 and VS 2012 . In order to follow along this post you must have Visual Studio 2012 and .Net Framework 4.5 installed in your machine.Download and install VS 2012 using this link . My machine runs on Windows 8 and Visual Studio 2012 works just fine. Please find all my posts regarding VS 2012, here . Well I have not exactly kept my promise for writing short blog posts, so I will try to keep this one short. 1) Launch VS 2012 and create a new Web Forms application by going to File - >New Web Site - > ASP.Net Web Forms Site. 2) Choose an appropriate name for your web site. 3) Build and run your site (CTRL+F5). Then go...
|
-
In this post I will show you how to create a simple tabbed interface using JQuery,HTML 5 and CSS. Make sure you have downloaded the latest version of JQuery (minified version) from http://jquery.com/download. Please find here all my posts regarding JQuery .Also have a look at my posts regarding HTML 5 . In order to be absolutely clear this is not (and could not be) a detailed tutorial on HTML 5. There are other great resources for that.Navigate to the excellent interactive tutorials of W3School. Another excellent resource is HTML 5 Doctor . Two very nice sites that show you what features and specifications are implemented by various browsers and their versions are http://caniuse.com/ and http://html5test.com/ . At this times Chrome seems to support most of HTML 5 specifications.Another excellent way to find out if the browser supports HTML 5 and CSS 3 features is to use the Javascript lightweight library Modernizr . In this hands-on example I will be using Expression Web 4.0.This application is not a free application....
|
-
In this post I will show you how to use JQuery to scroll through an HTML 5 page.I had to help a friend of mine to implement this functionality and I thought it would be a good idea to write a post. I will not use any JQuery scrollbar plugin, I will just use the very popular JQuery Library. Please download the library (minified version) from http://jquery.com/download. Please find here all my posts regarding JQuery .Also have a look at my posts regarding HTML 5 . In order to be absolutely clear this is not (and could not be) a detailed tutorial on HTML 5. There are other great resources for that.Navigate to the excellent interactive tutorials of W3School. Another excellent resource is HTML 5 Doctor . Two very nice sites that show you what features and specifications are implemented by various browsers and their versions are http://caniuse.com/ and http://html5test.com/ . At this times Chrome seems to support most of HTML 5 specifications.Another excellent way to find out if the browser supports HTML 5 and CSS 3...
|
-
To upgrade a phpBB forum, one usually downloads an automatic upgrade package to the latest version, selecting on the website which version they currently have. The current version number at a phpBB installation is shown at the Admin Control Panel (there’s a link to it at the bottom of the main page of a phpBB [...]...
|
-
Just found in my backups a batch file for enabling big uploads to MojoPortal running on IIS: %windir%\system32\inetsrv\appcmd set config "Default Web Site/portal" -section:requestFiltering -requestLimits.maxAllowedContentLength:104857600 -commitpath:apphost The quoted command above needs to be in a single line and obviously you have to replace “Default Web Site/portal” with your site’s virtual folder [...]...
|
-
In this post I will be looking into the SQL Server Log and how we can use it so we can identify and troubleshoot potential problems. Recently I asked someone that gave me a call regarding an SQL Server issue, to have a look at the SQL Server Log and he just could not locate it. That is why I decided to write a post for this great tool.( read more )...
|
-
It is human nature to jump right into a project without spending the necessary preparation time to ensure success. They say that 80% of the effort painting a room is preparation (laying the tarps, cleaning the walls, taping the trim, etc.). This is also the case when developing applications. If you don’t properly storyboard the [...]...
|
-
Recently I needed to disable the right-click contextual menu in an HTML page for a very simple HTML application I was creating for a friend. This is going to be a short post where I will demonstrate how to disable the right-click contextual menu. I will use the very popular JQuery Library. Please download the library (minified version) from http://jquery.com/download Please find here all my posts regarding JQuery . In this hands-on example I will be using Expression Web 4.0.This application is not a free application. You can use any HTML editor you like.You can use Visual Studio 2012 Express edition. You can download it here . I am going to create a very simple HTML 5 page with some text and an image. The HTML markup for the page follows. <!DOCTYPE html> <html lang="en"> <head> <title>HTML 5, CSS3 and JQuery</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > <link rel="stylesheet" type="text/css" href="style.css"> <script type="text/javascript"...
|
-
This is going to be the ninth post in a series of posts regarding HTML 5. You can find the other posts here , here , here , here , here , here , here and here . In this post I will demonstrate how to implement a very common feature found in websites today, enabling the visitor to increase or decrease the font size of a page. You can use the JQuery code I will write in this post for HTML pages which do not follow the HTML 5 standard. As I said earlier we need to write JavaScript to implement this functionality. I will use the very popular JQuery Library. Please download the library (minified version) from http://jquery.com/download In this hands-on example I will be using Expression Web 4.0.This application is not a free application. You can use any HTML editor you like.You can use Visual Studio 2012 Express edition. You can download it here . The HTML markup for the page follows. <!DOCTYPE html> <html lang="en"> <head> <title>HTML 5, CSS3 and JQuery</title> <meta http-equiv="Content-Type"...
|
-
Τhis is the fifth post in a series of posts on how to design and implement an ASP.Net 4.5 Web Forms store that sells posters on line . There are 4 more posts in this series of posts.Please make sure you read them first.You can find the first post here . You can find the second post here . You can find the third post here .You can find the fourth here . In this new post we will build on the previous posts and we will demonstrate how to display the details of a poster when the user clicks on an individual poster photo/link. We will add a FormView control on a web form and will bind data from the database. FormView is a great web server control for displaying the details of a single record. 1) Launch Visual Studio and open your solution where your project lives 2) Add a new web form item on the project.Make sure you include the Master Page.Name it PosterDetails.aspx 3) Open the PosterDetails.aspx page. We will add some markup in this page. Have a look at the code below <asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent"...
|
-
Τhis is the fourth post in a series of posts on how to design and implement an ASP.Net 4.5 Web Forms store that sells posters on line. There are 3 more posts in this series of posts.Please make sure you read them first.You can find the first post here . You can find the second post here . You can find the third post here . In this new post we will build on the previous posts and we will demonstrate how to display the posters per category. We will add a ListView control on the PosterList.aspx and will bind data from the database. We will use the various templates. Then we will write code in the PosterList.aspx.cs to fetch data from the database. 1) Launch Visual Studio and open your solution where your project lives 2) Open the PosterList.aspx page. We will add some markup in this page. Have a look at the code below <section class="posters-featured"> <ul> <asp:ListView ID="posterList" runat="server" DataKeyNames="PosterID" GroupItemCount="3" ItemType="PostersOnLine.DAL.Poster" SelectMethod="GetPosters">...
|
-
Since our onoing project ClipFlair is a follow-up of the succesful project LeViS, during its development I’m also looking at covering possible use-cases I infer from feedback entries at LvS application issue tracker on Codeplex (note that ClipFlair is also opensourced on Codeplex at http://ClipFlair.codeplex.com). One such issue (http://lvs.codeplex.com/workitem/11511) was titled “Allow video hiding while [...]...
|
-
Τhis is the third post in a series of posts on how to design and implement an ASP.Net 4.5 Web Forms store that sells posters on line. Make sure you read the first and second post in the series. In this new post I will keep making some minor changes in the Markup,CSS and Master page but there is no point in presenting them here. They are just minor changes to reflect the content and layout I want my site to have. What I need to do now is to add some more pages and start displaying properly data from my database. Having said that I will show you how to add more pages to the web application and present data. 1) Launch Visual Studio and open your solution where your project lives 2) Add a new web form item on the project.Make sure you include the Master Page.Name it PosterList.aspx Have a look at the picture below 3) In Site.Master add the following link to the master page so the user can navigate to it.You should only add the line in bold <nav> <ul id="menu"> <li><a runat="server" href="~/">Home</a></li>...
|
-
In this post I will show you with a hands-on demo the enum suppor t that is available in Visual Studio 2012, .Net Framework 4.5 and Entity Framework 5.0. In this post I will use the Model First paradigm available to us so I can demonstrate the support that is available for enums in the EF Designer. This model was firstly introduced in EF version 4.0 and we could start with a blank model and then create a database from that model.When we made changes to the model , we could recreate the database from the new model. Enum support is a new feature of EF 5.0 and .Net 4.5. So you must have that installed.VS 2012 targets .Net 4.5 by default. You can have a look at this post to learn about the support of multilple diagrams per model that exists in Entity Framework 5.0. You can also have a look at this post, Enum Support in Entity Framework 5.0 Code First . We will demonstrate this with a step by step example. I will use Visual Studio 2012 Ultimate. You can also use Visual Studio 2012 Express Edition . Before I move on...
|
-
In this post I would like to talk about Data Annotations and how to use them in our Code First Entity framework applications.Developers use extensively EF to build their data access layer. We have 3 development paradigms in EF. We have Database First,Model First and Code First. The last one (Code First) gains increasing popularity amongst developers. I will use another post also found in this blog to demonstrate Data Annotations .In order to fully understand what I am talking about, you need to read this post titled Using the Code First approach when building ASP.Net applications with Entity Framework . It will take some time to create this application but it is necessary in order to follow along. With Data Annotations we can configure our domain-entity classes so that they can take best advantage of the EF.We can decorate our entity classes with declarative attributes.Let me give you an insight on how EF Code First works. EF Code First at run time, looks at the entity-domain classes and infers from them the in-memory...
|
-
In this post I will show you with a hands-on demo the enum suppor t that is available in Visual Studio 2012, .Net Framework 4.5 and Entity Framework 5.0. You can have a look at this post to learn about the support of multilple diagrams per model that exists in Entity Framework 5.0. We will demonstrate this with a step by step example. I will use Visual Studio 2012 Ultimate. You can also use Visual Studio 2012 Express Edition . Before I move on to the actual demo I must say that in EF 5.0 an enumeration can have the following types. Byte Int16 Int32 Int64 Sbyte Obviously I cannot go into much detail on what EF is and what it does. I will give again a short introduction.The .Net framework provides support for Object Relational Mapping through EF. So EF is a an ORM tool and it is now the main data access technology that microsoft works on. I use it quite extensively in my projects. Through EF we have many things out of the box provided for us. We have the automatic generation of SQL code.It maps relational data to...
|
-
Τhis is the second post in a series of posts on how to design and implement an ASP.Net 4.5 Web Forms store that sells posters on line. Make sure you read the first post in the series.You can find it here . In all these posts I am going to publish, I will change the layout. That means I will make changes to the .master,.css,.aspx files and images. In the final post I will add the whole solution so you can download everything. Have a look at the picture below to see the new slightly changed layout Now that we have made the necessary changes to the . aspx pages,the master page,the .css files and adding some more images to our site we are ready to move forward and implement the data access layer. I will use Entity Framework 5.0 in order to create the data access layer. Obviously I cannot go into much detail on what EF is and what it does. I will give a short introduction though.The .Net framework provides support for Object Relational Mapping through EF. So EF is a an ORM tool and it is now the main data access technology...
|
-
I am going to start a new series of posts on how to build an application using ASP.Net 4.5 Web forms.A few days back I have been asked to present a number of presentations on ASP.Net 4.5. Ι will demonstrate how to create a website that sells posters on line .In this web forms application I will design and implement the main functionality that is needed in order to have an operational e-shop. I will also use this series of posts to highlight the various features in ASP.Net and most particularly the new features available in ASP.Net 4.5. This is going to be part 1 of the application where I will explain what I am going to do.In the final post on this series of posts I will demonstrate on how to deploy the web site to Windows Azure . I will use Visual Studio 2012 Ultimate edition but you can use the Visual Studio Express 2012 for Web .You can download it here .The .Net framework will be installed automatically. In case you have trouble installing Visual Studio please have a look at this link . You can download everything...
|
-
In this post I will show you how easy is to sort the columns of an HTML table. I will use an external library,called Tablesorter which makes life so much easier for developers. Τhere are other posts in my blog regarding JQuery .You can find them all here . You can find another post regarding HTML tables and JQuery here . We will demonstrate this with a step by step example. I will use Visual Studio 2012 Ultimate. You can also use Visual Studio 2012 Express Edition . You can also use VS 2010 editions. 1) Launch Visual Studio. Create an ASP.Net Empty Web application. Choose an appropriate name for your application. 2) Add a web form, default.aspx page to the application. 3) Add a table from the HTML controls tab control (from the Toolbox) on the default.aspx page 4) Now we need to download the JQuery library. Please visit the http://jquery.com/ and download the minified version. Then we need to download the Tablesorter JQuery plugin. Please donwload it, here . 5) We need to reference the JQuery library and the external...
|
-
A friend of mine was seeking some help regarding HTML tables and JQuery. I have decided to write a few posts demonstrating the various techniques I used with JQuery to achieve the desired functionality. Τhere are other posts in my blog regarding JQuery .You can find them all here . I have received some comments from visitors of this blog that are "complaining" about the length of the blog posts. I will not write lengthy posts anymore...I mean I will try not to do so.. We will demonstrate this with a step by step example. I will use Visual Studio 2012 Ultimate. You can also use Visual Studio 2012 Express Edition . You can also use VS 2010 editions. 1) Launch Visual Studio. Create an ASP.Net Empty Web application. Choose an appropriate name for your application. 2) Add a web form, default.aspx page to the application. 3) Add a table from the HTML controls tab control (from the Toolbox) on the default.aspx page 4) Now we need to download the JQuery library. Please visit the http://jquery.com/ and download the minified...
|
-
Here are some Smooth Streaming URLs I found on the Internet that you could use during development to test your smooth streaming players (like those based on SMF): http://streams.smooth.vertigo.com/BigBuckBunny_30sec/bigbuck.ism/manifest http://video3.smoothhd.com.edgesuite.net/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest http://playready.directtaps.net/smoothstreaming/TTLSS720VC1/To_The_Limit_720.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_PGA.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_NASCAR.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_MLB.ism/Manifest http://video3.smoothhd.com/ondemand/Akamai_ASP_Cutdown.ism/Manifest http://video3.smoothhd.com/ondemand/mix1/mix1.ism/Manifest http://video3.smoothhd.com/ondemand/mix2/mix2.ism/Manifest http://video3.smoothhd.com/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest http://video3.smoothhd.com/ondemand/ElephantsDream.ism/Manifest http://video3.smoothhd.com/ondemand/Got_Imagination_(Indo).ism/Manifest...
|
-
Our latest poll about supporting multiple branches for both .NET3.5 and .NET4.0 closed a few days ago. The results were in favor of .NET4.0 by 60%. However this was not an election and and the voice of the 40% is clear and loud. The new coming library we been working on has been refactored to .NET3.5 and in next version 12.1.7.2 we will remove the .NET4.0 dependency from the all other modules. However since our core libs now depend on .NET3.5 we see no reason for supporting 2 branches. We will return to our past branch which contained mixed .NET framework versions. Some modules like Workflow,Quartz, etc have a .NET4.0 dependency some not. We will run a similar poll in the future to see the size of the minority . Thanks again everybody for your contribution!...
|
-
This is going to be the eighth post in a series of posts regarding HTML 5. You can find the other posts here , here , here , here , here , here and here . In this post I will show you how to implement Drag and Drop functionality in an HTML 5 page using JQuery.This is a great functionality and we do not need to resort anymore to plugins like Silverlight and Flash to achieve this great feature. This is also called a native approach on Drag and Drop. I will use some events and I will write code to respond when these events are fired. As I said earlier we need to write Javascript to implement the drag and drop functionality. I will use the very popular JQuery Library. Please download the library (minified version) from http://jquery.com/download I will create a simple HTML page.There will be two thumbnails pics on it. There will also be the drag and drop area where the user will drag the thumb pics into it and they will resize to their actual size. The HTML markup for the page follows <!doctype html> <html...
|
-
This is going to be the seventh post in a series of posts regarding HTML 5. You can find the other posts here , here , here , here , here and here . In this post I will provide a hands-on example on how to use CSS 3 Media Queries in HTML 5 pages. This is a very important feature since nowadays lots of users view websites through their mobile devices. Web designers were able to define media-specific style sheets for quite a while, but have been limited to the type of output. The output could only be Screen , Print .The way we used to do things before CSS 3 was to have separate CSS files and the browser decided which style sheet to use. Please have a look at the snippet below - HTML 4 media queries <link rel="stylesheet" type="text/css" media="screen" href="styles.css"> <link rel="stylesheet" type="text/css" media="print" href="print-styles.css"> Τhe browser determines which style to use. With CSS 3 we can have all media queries in one stylesheet. Media queries can determine the resolution of the device,...
|
|
|
|