Deploy a Website in 10 minutes using Dropbox and Azure

It only takes 10 minutes to deploy your website with Azure. Free distinction for everyone! Just follow the guide below. What do you need? 1. A Microsoft Account with Azure! (Hey! Microsoft gives you a 30 day free trial) 2. A Dropbox Account (Free 2GB account is more than enough) 3. A folder with all the developed HTML/PHP/JavaScript/CSS files (Make sure they can run on local host to save your 30 days free trial) 4. 10 mins of your time Alright! Let’s start! ...

Connecting to SQL Azure with ASP.NET

Recently, I have been working with Windows Azure and SQL Azure for my new project and because of this, a good amount of developer friends came to me and wanted me to share more about it hence I decided to write it down as a blog post for anyone who is interested to know about it. What is SQL Azure? SQL Azure is Microsoft’s Relational Database offering on the Cloud. It is build from the foundation of SQL Server It helps to actually ease the provisioning and deployment of many databases. It is easily scalable per se. This blog post is going to show you how easy is it for you to connect to SQL Azure, it actually works the same way as a normal SQL Server Connection, the main difference is the connection string. The username is your username setup at SQL Azure @ Server name. You can download the full sample project with CRUD ( Create, Retrieve, Update, Delete ) at the end of this post. ...

Razor and Webmatrix : Convert Static HTML into Dynamic data-driven pages

In this tutorial, we will move a existing static websites onto a Razor syntax-based dynamic webistes with a product database. That’s a case often happens. For instance, a bakery shop hires a designer for designing a online bakery shopping website. However, after a while, the shop owner decides to add in more products dynamically through database. And here, I will show you how to do it through WebMatrix in a easy and fast way. 1. Firstly, download html-based bakery online shopping cart web project here. Unzip it onto your hard disk. 2. Open WebMatrix and select Site From Folder. Select files from folder where you unzip Bakery_Final. After clicking ok, you will see all the files laying out in the left corner. 3. Click on Default.html and click Run. You will see the Fourth Coffee pages showed as below. There are three pages here: Home, Our Products and About Us. Noticed that the headers and footers of all sites are the same. And product information are all static. Next step, we will try to move all the duplicated parts into one single file. 4. Click on New on the menu bar and choose cshtml. Name it _Layout.html. Noticed here we use _ before the file name. It indicates that this file can’t be used to browse directly. This is similar to master page in ASP.NET. 5. Copy all the code from About.html to CSHtml. Remove code block showed below. This is the content part varies for each page. 6. Replaced the code block above with the following code: (Razor Syntax is case-sensitive. So please be careful of the upper-case). [cc] ...

10 minutes to understand ASP.NET Razor Syntax and WebMatrix

What’s Razor Syntax and Why WebMatrix? Microsoft wants to provide a simple and light way for students, hobbyist, inline script developers or web developers in general to develop websites fast. They will be able to start webpages from scratch or from some open source templates, such as WordPress or Joomla. WebMatrix is a stack under 50 MB, if you have .Net 4 installed, it will be under 15 MB. And you will get ASP.NET Razor Syntax along with WebMatrix. We want to give people an alternative to develop webpages in a lightweight and low-concept way. WebMatrix is composed by four parts: ...

Microsoft Web Camp

We’ve got something really cool for you guys this June! James Senior (Microsoft’s “Social Web Guy”) is flying to Singapore to deliver a developer camp-style event called Web Camp. What is Web Camp? Web Camp is a free 2-day web developer event intended to educate web developers about the Microsoft Web Platform, including trending topics like ASP.NET MVC Web Forms, ASP.NET MVC, jQuery, Entity Framework, IIS, Visual Studio 2010 and much more. Who should go to Web Camp? Web Camp is for all web developers. Whether you’re currently working with PHP, Ruby, ASP or older versions of ASP.NET; or if you want to be updated with the new technologies on the Microsoft Web Platform, in an interactive environment where you can get down and dirty with your fellow web developers amongst Microsoft experts, then the Microsoft Web Camp is for you. Registrations are open! Check out the agenda and register here. See you there!

A Day in the Life in Cloud Interoperability

There is a lot of excitement in the benefits that cloud computing promises to bring to society. However, what’s equally important is the notion of cloud interoperability, or the ability of one cloud to work with other platforms and applications and not just with other clouds. This is paramount if we want to realize the full potential of cloud computing and all the benefits that it can bring to us. At Microsoft, our approach to cloud interoperability is based on openness - i.e. documenting the proprietary protocols of our leading products, making sure open source technologies work with our technologies, and most importantly, support popular standards in our products and services. We’ve said in the past that we take a pragmatic approach to interoperability. The same holds true for our approach to interoperability in the cloud. Cloud interoperability is hard work, but we strive to provide the world’s best platforms, not only for Microsoft’s technologies, but for everyone else’s too. To help you understand some of the cloud interoperability scenarios that Microsoft helps enable, here is a nice infographic to illustrate a day in the life of Isabela Interop, a busy environmental studies researcher who like many of us, has busy days juggling work and family. Let’s look how interoperable technology is connecting Isabela to her work, family and community. ...