WAFY's .NET Specialists Blog
Development & Training in .NET
Development & Training in .NET
May 4th
One of the students in our online .NET training program wanted to know about the usage of BindingNavigator and BindingSource controls. We thought it would be useful to write an article demonstrating the usefulness of these controls. We plan to add more such articles to the articles section of our website.
Have any questions? Ask them in our .NET forum.
May 1st
If you have either completed WAFY's .NET training program (or) have good expertise in Microsoft Technologies and solutions, then you should prove your worth by completing related Microsoft Certifications. Such certifications help enhance your resume and instantly provide you with the credibility required for getting selected in the interviews.
Do you know that, Microsoft endorses IT professionals and developers who have proven their deep expertise with Microsoft technologies and solutions by obtaining a Microsoft Certification. Passing Microsoft exams will give you an edge during interviews and while applying for online jobs.
Stand out from your peers, and help employers recognize that you have the right skills. To keep pace with ever-changing technology, Microsoft Certifications now require that you recertify every 2-3 years.
Feb 10th
Creating blogs could boost your SEO. Why not create a few blogs? Self hosting a blog is good but you don’t have to. You can use free blogging engines like Blogger.com, WordPress.com and Tumblr.com. I tried these for our .NET training SEO and they look and work great. Here’s what I created:
Blogger:
http://best-dotnet-training.blogspot.in/
Tumblr:
http://wafy.tumblr.com/
Jan 3rd
We have plans on bringing Visual Studio 11 and .NET Framework 4.5 as part of our training program. For those eagerly waiting to know about the next big release of Visual Studio 11, take a peek here:
http://msdn.microsoft.com/en-us/vstudio/hh127353
http://www.asp.net/vnext/whats-new
Aug 12th
Almost every student asks me how to remember the namespaces for the classes. It’s plain simple, Visual Studio has a very useful shortcut for finding the namespace of a class. It comes in very handy when you are working on projects and you need to be fast typing code. So here are the steps to use it.
Type the name of the Class, highlight it and press Shift + Alt + F10, phew! you got your namespace.
Use the drop down displayed to do the following:
1. Add the namespace displayed to the usings clause
2. Fully qualify your class
3. Generate a new class
4. Generate a new type
The other shortcut that I find very useful is for declaring properties:
To declare a property just type prop and press TAB TAB. Now type in the datatype and a the name for the property.
There’s also a shortcut to implement interfaces automatically. This would save you tons of time in implementing interfaces.
Declare the class and type the name of the interface. Now, highlight the interface that you’d like to implement and press Shift + Alt + F10. Select the corresponding option in the dropdown – Implement interface (or) Explicitly implement interface
Felix.J, PMP
View Upcoming Dot Net Courses by WAFY
Aug 1st
We are one of the best .net training institutes in Chennai. Fast track, week-end courses start on Aug 20, 2011 for C#, ASP .NET and SQL Server 2008. Join us NOW!
Want to be the best? Then, you got to learn from the best. Read on to know more.
Felix Marianayagam.J, PMP, MCT, MCTS, MCITP
Subha Narayanan, PMP, MCT, MCTS, MCITP
Note: Wafy Technologies is a Microsoft Silver Partner with competencies in Web and Windows software development.
Over 13+ years of experience in programming, project management and architecting multiple dot net projects for international clients. We give you hands-on training with one-on-one interaction. We give you very high value for a very low cost. It can’t get any better. Join us NOW!
Nothing bookish. Designed from ground up, it’s all about learning the tricks of the trade using C#, ASP .NET – windows/web applications. We teach using the latest Microsoft technologies and tools i.e. Visual Studio 2010 and .NET Framework 4.0. The course will also highlight about the Entity Framework and Dynamic websites.
You will learn everything you need to develop professional C# Windows and ASP .NET web applications of international standards. Would you like your learning curve to be at the peak? Join us NOW!
Jul 13th
A simple snippet that let’s you know how to retrieve data by using Entity Client Provider. You can refer to the DataModel image in the earlier post.
// Retrieving Data by Using the EntityClient Provider
// Entity Connection, Command and Parameter objects
using (EntityConnection connection =
new EntityConnection("name=EMSEntities"))
{
connection.Open();
// Note that "Order" is the actual table name
const string queryString = @"SELECT VALUE r FROM
EMSEntities.Orders as r WHERE r.OrderID=@OrderID";
EntityCommand cmd = new EntityCommand(queryString,
connection);
EntityParameter p = new EntityParameter() {
ParameterName = "OrderID", Value = 1 };
cmd.Parameters.Add(p);
EntityDataReader reader =
cmd.ExecuteReader(CommandBehavior.SequentialAccess);
while (reader.Read())
{
string orderID = reader.GetInt32(0).ToString();
string orderDate = reader.GetDateTime(1).ToString();
Debug.WriteLine(String.Format("Order ID = {0}, " +
" Order Date = {1}", orderID, orderDate));
}
}
Jul 13th
A simple snippet that let’s you know how to retrieve data by using Entity SQL. You can refer to the DataModel image in the previous post.
// Retrieving Data by using Entity SQL
// Note that "Orders" used in the query is an Entity
using (EMSEntities context = new EMSEntities())
{
const string queryString = @"SELECT VALUE r from " +
"Orders as r WHERE r.OrderID=@OrderID";
ObjectQuery<Order> orderQuery =
new ObjectQuery<Order>(queryString, context);
orderQuery.Parameters.Add(
new ObjectParameter("OrderID", 1));
List<Order> results = orderQuery.ToList();
string orderID = results[0].OrderID.ToString();
string orderDate = results[0].OrderDate.ToString();
Debug.WriteLine(String.Format("Order ID = {0}, " +
" Order Date = {1}", orderID, orderDate));
EntityCollection<OrderDetail> details =
results[0].OrderDetails;
Debug.WriteLine(String.Format(
"Order Detail Count = {0}", details.Count));
}