Categories
.NET ASP.NET C# HTML IIS Introduction JavaScript Setup SQL WCF Windows Azure Winforms WPF

Global Windows Azure Bootcamp at Ahmedabad 2013

This post is to share my experience with Global Windows Azure Boot camp event that happened in Ahmedabad.

About The Event

The event was about getting started with Windows Azure and Getting started with the Windows Azure Training Kit for any developers whether experienced or fresher and working on any programming platforms. The event was also about how real life applications can be benefited by using the power of cloud server and services.

WHAT IS WINDOWS AZURE ?

Windows Azure is Microsoft’s Cloud Platform which provides various hosting and architectural benefits along with scalability, reliability and which can scale the applications horizontal in very short time and minimum efforts. Windows Azure provides Cloud Hosting, Cloud Services, Cloud Mobile Services which enable Push notification to any platform (Really Any platform – iPhone, Android, Native application, Web applications) and many more features.

WHAT IS BOOT CAMP?

According to me, Boot camp is in other words Training Camp and in real life is much more fun. It’s an event where we, the developer, come with our tools and brains and collaborate to create and build in groups. In boot camp event people go to learn skills, usually skills involving physical or practical action rather than book subjects.

WHY IS IT GLOBAL WINDOWS AZURE EVENT?

It is because the event was happening at 90+ locations at the same time around the globe.

What was the Agenda of Event?

Start End Agenda Speaker
9:30 9:45 Registration
9:45 10:00 Welcome to GWAB!
10:00 10:45 Windows Azure – Complete Solution for Any Business Need Mahesh Devjibhai Dhola
10:45 11:00 Tea
11:00 12:00 Render Farm/Lab 1
12:00 13:00 Lab 2
13:00 14:00 Lunch/Networking
14:00 14:20 Windows Azure Real-life Application   Showcase Prabhjyot Singh Bakshi
14:20 15:00 Windows Azure for Mobiles Kaushal Bhavsar
15:00 16:00 Lab
16:00 16:15 Tea
16:15 16:45 Q&A/Giveaways
16:45 17:00 Thanks

How things went?

I think event was Awesome and I had learnt many things which I didn’t knew before. The Speakers removed the hesitation and fear of windows azure and cloud applications building that I had before the event. Event went good with the agenda and schedules although there were few examples and labs due to shortage of time, the speakers were nice and supportive to answer our questions and provided best guide they knew to clear the doubts. And they also helped in getting the Azure SDK that was +1 point to them. Initially Mahesh sir gave speech on the event agenda and introductions. Then went through the Windows Azure & its benefits, and applications that can be built with it. I must say event interactive session with him. He then introduced and made us familiar with the Windows Azure Portal to manage the sites. Then we went through the Render Lab deployment with some help. After lunch, Prabhjyot sir gave us some introduction about him and his team. He told about the cloud services and Windows 8 Application and some code examples built and already functional on the cloud. Then Kaushal Bhavsar showed us the Windows Azure Cloud Mobile Services and push notification services that Windows Azure provided using ‘Channel Url’ and that the push notification was available for use on any platform whether it is Web, native application, or mobile and on any Operating Platforms. Then some cool giveaways happened. My favorite was plural sight 1 year subscription but didn’t won it as there was only one of it but hey I got Cloud berry giveaway..

What was the cool thing about the event?

There are a couple of cool things,

  1. Alan Smith (@alansmith) who happens to be Microsoft MVP prepared something based upon his 256 worker role demo, if you want more in-depth info on the demo and the topic the check out read more from the blog post here.
  2. And we deployed the demo cloud application named renderlab on the windows azure ourselves through the labs with guidance and some efforts.
  3. Meet the Geeks – Mahesh Dhola, Jalpesh Vadgama, Kaushal Bhavsar, and Prabhjot Singh Bakshi.
  4. Meetup with other Ahmedabadi developers and learners.
  5. Lastly – Food, Giveaways (Gifts) and Windows Azure stickers.

HOW I CAME TO KNOW?

I came to know about Global Windows Azure Boot camp event going happening by Facebook post in AhmedabadDotnet Group. Go and Join the Group to get social with the Community on Facebook itself.

PS: Check the FAQ section of the event for more answers and information.

Here are few pictures from the event that I would like to share here,

Harsh Baid with Mahesh Dhola (on Right)
Harsh Baid accepting the Cloud Berry Giveaway from Mahesh Dhola (on Right)
Kaushal Bhavsar with Mahesh Dhola (on Left)
Kaushal Bhavsar accepting the Cloud Berry Giveaway from Mahesh Dhola (on Left)
Prabhjyot Singh Bakshi
Prabhjyot Singh Bakshi speaking at the event on Windows Azure Real-life Applications.
Mahesh Dhola
Mahesh Dhola speaking on Windows Azure – Complete Solution for Any Business Need.
Harsh Baid, Jalpesh Vadgama, Mahesh Dhola (left to right)
Group photo – Harsh Baid, Jalpesh Vadgama, and Mahesh Dhola (left to right)
Kaushal Bhavsar speaking on Windows Azure Cloud services
Kaushal Bhavsar speaking on Windows Azure Cloud services
The Great Handshake - Jalpesh sir and Mahesh sir (on right)
The Great Handshake – Jalpesh sir and Mahesh sir (on right) for Cloud berry giveaway

I hope you liked the post and event information. Share your experiences if you were also the part of the event Or May be some other event that you want to share with us.

 

Categories
.NET C# Entity Framework WPF

Understanding HB Code – Line of business application for WPF – Part I

 

HB Code – Line of business application for WPF

MVVM Architechture Overview

This project is made available as open-source and hosted freely on www.codeplex.com.

Prerequisites

  • Object-oriented programming using C#.NET and LINQ.
  • Nuget package usage.
  • Basic knowledge of WPF application building such as input controls, container controls, triggers, styles, templates.
  • Entity Framework, currently knowing any of versions of Entity Framework will work to check the working sample.
  • Sql Server 2005 database configuration and Sql queries.

Built

Technologies: .NET 4.0, WPF, Entity Framework 4.3 Code First,

Control toolkits: Avalon Dock, Avalon Dock MVVM, WPF Toolkit, WPF Extended toolkit, Microsoft Ribbon for WPF

Tools: Visual Studio Professional 2010, Sql Server 2005 Express, Entity Framework Power tools extension, Nuget Package Manager.

Please note: Current implementation is kept intentionally strongly typed to keep it easy to understand and reduce development time at initial stage.

Solution Projects Overview

  • HBCode Application (View)

This is the main entry point of the application. In this part, we have all the WPF and UI specific code implementations. It basically contains the WPF resources, WPF converters, Extended User Controls, Images, Application and Database Configurations, and Views (UserControls) used in the application.

  • HBCode Business Logic (Model)

This project contains all the business modules, business logic validation, and database connectivity, property change notifications implementations. Currently it uses Entity Framework 4.3 Code First with migrations to connect with the database. The Entity Framework 4.3 building blocks such as Database Context, Models, and Migration classes exist in this project.

  • HBCode Presentation (ViewModel)

This project contains the middle-tier ViewModel classes. View Model contains Collection of models, single models and sometimes aggregate properties for display purposes. The UserControls aka View are Databound to ViewModels containing model instances. ViewModels are built considering the UI layout and requirements. Such as if we consider a Sales billing UI will be containing Item list in grid and there will be one ComboBox column to display items to select from, so to Databound the Combobox we could either List<ItemModel> property in ViewModel at top-level or we can implement List<ItemModel> per row instance in List<ItemSaleModel> which would be bound to grid.

This project is made available as open-source and hosted freely on www.codeplex.com. You can download the source from www.hbcode.codeplex.com.

 

Categories
.NET ASP.NET C# Winforms WPF

Getting started with Multifile assembly

What is Multi-file assembly?

It is an application assembly either web-based or desktop-based which spans across many files to support extensibility and dynamically adding new features.

What is Modules?

Modules means class files such as Program.cs or frmMain.cs, in context of assemblies.

Usage of Multi-file assembly

  • Using different modules written in different .NET based programming languages such as C#.NET and VB.NET .
  • To optimize an application by putting less used types in a module that is loaded only as when needed or required i.e Lazy-loading assemblies.
  • Reduce application start-up by loading only required assemblies at start-up and then load less used assemblies in background thread or parallel Task-based threads.
  • Extend the application features by implementing plugin-based architecture, like we have in Orchard CMS and NopCommerce for web-based applications and in StockTrader application for desktop-based applications.
  • We can incrementally release application features or fix a bug & release a patch without completely recompiling the main assembly or application.
  • For multi-language applications releasing new languages support via custom language module packages.

Conceptual example of Multi-file assembly

For example, you have an e-commerce web application at hand which supports online booking goods & payments also, you currently have an account in PayPal so you create a main package containing Payment related interfaces and then reference it back to main application and in package which will be containing the actually concrete classes for PayPal implementation. And then plan and release new packages with more payment gateways such as Authorize.NET at later stage. This is a working example and implemented in NopCommerce web application.
PS: I will come with a demonstration application for building real plugin-based applications in my future posts.

Advantages of Multi-file assembly

  • Desktop Application with plug & play architectures are benefited.
  • Change of application behavior or add more services at later stage in spiral SDLC model.
  • More number of developers can work concurrently on larger projects independently on assigned modules.
  • Supports agile application development approach.
  • Complex projects can be built easily by Separation Of Concerns.

Disadvantages of Multi-file assembly

  • Increases development time as developers need to write without being aware of the main application and needs to communicate with various teams while integrating as a whole.
  • Small-scale projects do not get its benefit as it would increase cost of development and time both.

Detailed steps to create and use multi-file assemblies can be found at AspAlliance.com article here and you can download sample from AspAlliance.com MultifileAssembly.zip

I would like if you would share your thoughts on this topic with me.

Thanks.

 

Related Articles & links:

Importing multiple extension assemblies in C# with MEF
Building a Multifile Assembly on MSDN
Managed Extensibility Framework