Posts tagged ASP .Net
Today is a great day – the third version of ASP .Net MVC framework was released! Not alone, but accompanied in the today’s developer toolbelt with an assortment of FREE goodies:
- ASP.NET MVC 3
- IIS Express 7.5
- SQL Server Compact Edition 4
- Web Deploy and Web Farm Framework 2.0
- Orchard 1.0
- WebMatrix 1.0
I like this trend in Microsoft’s approach, providing free tools to quickly and cheaply start development, increasing your productivity and making you think about a quick Return of Investment – only your time is involved! But read thoroughly the licence, it might be the case that for using these tools in production or commercially another type of licencing model might be required!
But back to our focus technology!
ASP .Net MVC 3 – what’s inside the box and interest us?
Razor – new view rendering engine, added as a option to the default ASPX one, allowing developers to use a similar style in adding inline code in HTML templates, while discarding the unnecessary characters, allowing us to type more, faster and with less errors than in the ASPX counterpart. The engine features a special syntax, denoting only the start with a common character – the @ – allowing you to write the code without denoting explicitly the end of the code in your markup. The parser is smart enough to understand it and not interrupting your flow of development, mixing code with markup for creation of recurrent lists or tables. Scott Gu has a very interesting introductory tutorial.
jQuery – better integration through the addition in the MVC templates of jQuery UI and the Validator plugin. The last one allows advanced validation scenarios, like decorating the Model with datatype, size, if it is a required parameter, and this will auto-generate the required validation script on the client side. Neat, isn’t it? No more maintaining validation code in several locations!
Output caching – besides the traditional caching on URL-basis and on action method level, now available is also the partial page output caching, enabling the caching of fragments sent ( for example though an AJAX call).
Improved DI – ASP .Net MVC now allows better integration with IOC containers and support for Dependency injection, removing the previous requirement of creation of custom ControllerFactory to just enable this very important scenario. I find it very useful, while the nowadays website rely quite heavily on DI and creating this custom factory becomes annoying when one has to do it for each and every project at least once. A cool addition is that you just register a DI framework and it will not resolve dependencies for your Controllers but also for the others pieces of the MVC puzzle – Action filters, Views, Model Binders, Value/Validation/Model metadata providers.
As we are used now, these aren’t all improvements but also : improved New Project dialog, scaffolding was reworked, cross-cutting filter attributes for Global filters, ViewBag has now the dynamic support of .Net 4 and others.
Yesterday I’ve become Microsoft Certified Technology Specialist (MCTS) in .NET Framework 3.5 ASP.NET Applications by passing the 70-562 exam!
First, I want to share with you my web development background:
- I have around 4 years of ASP .Net experience. Mainly, my experience is on .Net 1.1 and 2.0. I developed for mobile devices when there weren’t yet smart phones around us. I’ve worked on a solution that connected an Asus Palm to Nokia phones, first providing the interface, second providing the connectivity to a collection of webservices who provided encrypted and authentication for data exchanged.
- Then I’ve worked on a governmental website, creating features and maintaining it.
- Later on, I’ve managed the entire lifecycle of a website, from hosting, Windows Server / IIS maintenance to development and deployment of the website.
Let’s get to my experience in this exam…
Almost all blog posts claim that the .Net 3.5 is just an extension of .Net 2.0, but when getting deeper, you realize that those developers who worked on it really produced a good quality product with many improvements and many added features over the previous version. Mainly, you’ll understand here the point of having a .Net 3.5 certification.
Comparing .Net 2.0 to 3.5 we’ll find a big difference. For example:
- ASP.NET AJAX
- New ListView and DataPager Controls
- WCF Support for RSS, JSON, POX and Partial Trust
- Multi-targeting Support
.. and more on this you can read on Microsoft Official Statement.
The next workshop of the Microsoft Student Partner in cooperation with the student body of Uni Bonn is coming!
This time is about the basics of ASP.Net and Visual Studio 2010. The workshop provides a starting point in Web programming by many practical exercises in small groups. Aim is the development of smaller Web projects, such as photo albums or guest books.
The registration is free. You can register until Thursday, the 20.01.2010 12: 00 pm by E-mail to firstname.lastname@example.org. Space is limited by the number of available computers in the CIP pool. We have 24 fixed stations and six more places available for students with their own laptop. Please give at registration details if you will bring a laptop with Visual Studio 2010.
All participants can receive, upon request, a certificate of participation in the workshop.
Position: Team Leader and Lead Developer in Alensa Online – Software Development department
I was part of Alensa team between January 2007 and August 2008. Only the opportunity to study Media Informatics Master, held by RWTH Aachen University, could gave me enough reasons to leave Alensa Online that I enjoyed so much for almost two years.
I was in charge with our brand new solution for an online Healthcare project – Alensa Online. The Alensa Online Shopping site (www.alensa.ro) consists of an internet healthcare platform in Europe that would simplify research and self education related to health issues, and provides the customers with an interface allowing them to easily get their health questions answered by professionals. It was first developed by a third party company, then I took over the responsibility of developing and maintaining the solution.
My responsibilities were quite complex because I was the first hired person, very similar with Softwise company. This reminded me about the joy and responsibility that comes with this. Another nice surprise was to find in person of Mr. Alex Savic, the CEO of the company, a friend with whom I shared both technical discussions and personal development ones, he was one the most supportive about my decision to study in RWTH Aachen.
Shortly, at Alensa Online I were in charge with:
- Architecting and developing the web based solution using Microsoft ASP.NET / C# and SQL 2005 Server technologies;
- Performing server administration, configuration and maintenance for the Windows 2003 server, for IIS 6 and for SQL 2005 database server;
- Executing architectural modifications in order to make the website user friendly;
- Identifying, designing and developing solutions;
- Periodically testing the site functionalities and thus creating a real test environment, test cases and bug fixes;
- Performing code review, corrections and code optimization;
- Analyzing hardware/software requirements and proposing hardware/software improvements and suggestions (for example, choosing an appropriate hosting partner);
- Implementing real time traffic analysis tool to help the management department;
- Conducting internal training for his colleagues. (more…)
Position: Senior Developer
I had the pleasure of working in Totalsoft Charisma team between the February, 2004 and the November, 2005.
In almost two years, I had the opportunity of working on a large variety of the company’s products, but mainly I was a key member in the team developing the Charisma Business Commander product. Charisma BC is the solution which brought TotalSoft’s recognition on the market of pharmaceutical distribution, being implemented by six of the largest companies in this complex activity sector in Romania. Tens of thousands of daily transactions carried out all over the country are achieved with through this application who manages their warehouses.
I also developed some features on the associated Sales Force Automation tool. It is a WindowsCE application running on smart devices (PDAs). This application enabled sales persons to check the stocks and create orders on pharmacy site, thus improving their flexibility in serving their customers – pharmacies.
My responsibilities were:
- developing new product functionalities
- testing and bug fixing
- product customization for different clients having different requirements
- product modifications due to business logic changes
- business layer development
- document flux optimization
- database developments, data transfer and records coherence verification
- requirement gathering, analysis and engineering after in-depth discussions with the customers
In order to accomplish the tasks, I used the following technologies on daily basis:
- Delphi 5,6 Enterprise
- SQL Server 2000
- Crystal Reporting system
- Microsoft Visual Studio 2003, .Net 1.1 Webforms, Winforms, Smart Device programming
- Microsoft Visual Source Safe
Later on, because I proved to be a reliable and efficient developer, I was assigned the denomination process due to the transition from the Romanian old currency – the leu (ROL) to the new leu (RON). I completed the task for both Business Commander and Sales Force Automation successfully, proving both to my colleagues and me that I worth the challenge and gaining even more trust in my capabilities.
I also had both the opportunity and the challenge to conduct the discussions with the clients of the software that I developed regarding their specific requirements for the resulted product. I also was in charge the product implementation and customization at customers’ sites, creating and encouraging a very close professional relationship with them to better understanding their idea about the product.
Scott Hanselman had a presentation at Mix 09 conference – File | New Company: Creating NerdDinner.com with Microsoft ASP.NET MVC. This was in its unique style – fun, rich in content, tricks, advices but most of all was fun.
This year he managed to create a new type of presentation – without the actual presentation! No more constrained to some slides, just him, Visual Studio and the audience. Yes, the audience – who seemed to absorb any words spoken there, helping Scott with few advices in some key points.
This presentation was held by Murali Krishnaprasad, who is a prestigious Microsoft professional. He is Principal Architect of Velocity – the distributed caching platform”. His presentation revolved around new methods and services for better caching web application, but also on scaling this methods for a computer farm or a cluster.
Let’s take a look on the system architecture:
This presentation, is done by Mike Flasko, Program Manager at Microsoft Corporation. Smart, well prepared and having good oratorical skills, he is one of the best presenters that I have listen to. He has several other blogs, interesting to see is also this one. He leads the Astoria team which has an interesting blog here.
For all of us who didn’t had the pleasure to go to the actual event, the link is on Channel 9 PDC area. Maybe next year we’ll shake hands with Mr. Mike Flasko.
Here are some of the things presented (this listing is just a teaser, you should discover the rest) :
- New models for communication
He explained the usage of Microsoft’s .Net 4.0 framework in real life examples, creating an interesting environment for very young people (less than 4 years) using Silverlight, PDAs, the new Surface device, webservices, real time interrogation to data bases by auto updating reports and others.
Join Scott Hanselman for this lots-of-code-minimal slides talk that walks through the sheer joy of building out a .NET Framework application with Visual Studio using many of the new advances in the .NET Framework 3.5SP1 and 4.0. We have a data layer with Entity Framework, use REST web services with WCF and ADO.NET Data Services, write an ASP.NET site for reporting using Dynamic Data and MVC. All the data will come from a WPF client application and a Silverlight application that the audience will run live! All this, plus it’s an application that babies and toddlers will love!
One of this days a friend of mine shared with me some SEO techniques and one of them was to change the meta tags associated with a product page. So after a little research I found out a way to accomplish this : modify the Header property of ASP .Net page and add several HtmlMeta tags who can hold the data needed to be changed.
Each ASP .Net page has a property called Header who is the “hidden” header code of each HTML page. It is available starting with .Net version 2.0 and exposes also the meta tags object collection. Actually, all elements in the header are available in Header.Controls
// Render: HtmlMeta meta1 = new HtmlMeta(); meta1.Name = "keywords"; meta1.Content = "pharmacy, online pharmacy, home delivery"; // Render:
HtmlMeta meta2 = new HtmlMeta();
meta.Name = "verify-v1";
meta.Content = "DmMArCJQq9KV45wvKMwrWASh3R8UWTd7NfBD";
HtmlMeta meta3 = new HtmlMeta();
meta.Name = "revisit-after";
meta.Content = "2 days";