Thursday, January 17, 2013

How to upgrade Office 2013 on Surface RT to the final version?

How to upgrade Office 2013 on Surface RT to the final version?

The Microsoft Surface running Windows RT includes Office 2013 Home and Student Version which runs on the tablet's desktop. Out of the box it comes with the Review version of Office, but you can upgrade to the final version which is currently available, here's how.
 
 
Cheers - Dipesh
 

Saturday, December 29, 2012

Entity Framework 6: now available

Entity Framework 6: Preview Alpha 2 released recently... few key features:

  • Async language support is now available for queries and updates when running on .NET 4.5.
  • Custom conventions now provide the ability to override the default conventions that Code First uses for mapping types, properties, etc. to your database.
  • Multi-tenant migrations allow the same database to be used by multiple contexts with full Code First Migrations support for independently evolving the model backing each context.
  • Using Enumerable.Contains in a LINQ query is now handled much more efficiently by EF and the SQL Server provider resulting greatly improved performance.
  • All features of EF6 (except async) are available on both .NET 4 and .NET 4.5. This includes support for enums and spatial types and the performance improvements that were previously only available when using .NET 4.5.
  • Start-up time for many large models has been dramatically improved thanks to improved view generation performance. 
Entity Framework 6 is the first open source release of Entity Framework being developed in CodePlex. The preview release of EF6 is also available on NuGet, and contains some really great features for you to try.

Entity Framework 5 release is available on NuGet and has following key features:

  • Enum support allows you to have enum properties in your entity classes. This new feature is available for Model, Database and Code First.
  • Table-valued functions in your database can now be used with Database First.
  • Spatial data types can now be exposed in your model using the DbGeography and DbGeometry types. Spatial data is supported in Model, Database and Code First.
The following new features are also available in the Entity Model Designer in Visual Studio 2012:
  • Multiple-diagrams per model allows you to have several diagrams that visualize subsections of your overall model.
  • Batch import of stored procedures allows multiple stored procedures to be added to the model during model creation.
- DJ

Thursday, November 15, 2012

Developing HTML 5 with JavaScript and CSS 3 applications - Jump Start videos and tutorials

Developing HTML 5 with JavaScript and CSS 3 applications - Jump Start videos and tutorials
 

Microsoft Virtual Academy is offering a free course and exam voucher that maps to Exam 70-480, This is a limited time offer and is on a first come first serve basis....


This course provides an accelerated introduction to HTML5, CSS3, and JavaScript and helps students gain basic HTML5/CSS3/JavaScript programming skills. The course focuses on using HTML5/CSS3/JavaScript to implement programming logic, define and use variables, perform looping and branching, develop user interfaces, capture and validate user input, store data, and create well-structured applications. This course uses Visual Studio 2012, running on Windows 8.
 
 

 
(01) | HTML5 Semantic Structure 
Topics include Semantic tags, Forms, Audio and Video, Canvas and SVG. 

Click on the materials below. These materials are external documents and will be opened in a new window. Please come back to this track once you have reviewed it. 


(02) | CSS3 Selectors and Style Pro...  

 In this module, Jeremy Foster and Michael Palermo focus on CSS3 Selectors and Style Properties. Topics include Selectors, Combinators, Color properties, Text properties, and Box properties 


(03) | Advanced Layout and Animation...

 This module features Michael Palermo and Jeremy Foster covering the important areas of layout and animation. During the session, they cover Legacy layouts, Flexbox, Grid, Transforms, and Transitions and Animations. 


 (04) | JavaScript Core Capabilities 

 Jeremy Foster and Michael Palermo provide an overview of the core capabilities of JavaScript in this module. After an insightful overview of JavaScript, the session includes important information such as Variables, Functions, Function scope, Arrays, and Objects. 

 (05) | DOM Interactions
In this important module, Michael Palermo and Jeremy Foster focus on DOM interactions. This important module covers topics such as Querying the DOM, Manipulating the DOM, and Responding to events. 

 (06) | Advanced Topics
 After an effective discussion about Handling exceptions, they cover Promises, Web worker, Web sockets, Architecture patterns, and TypeScript. 

More on MS Virtual academy here ..http://www.microsoftvirtualacademy.com/tracks/developing-html5-apps-jump-start?WT.mc_id=MSLS_HTML5OfferMVA


- DJ
 

Wednesday, November 14, 2012

Real time Social media sentiment analytics...

Free tools and APIs available to check social media sentiment analytics (real time) - http://www.sentiment140.com/search?hl=en&query=microsoft surface ...You can change the query to your product, org name or yourself.

Microsoft has also provided tool - "Analytics for Twitter" (would need Power Pivot add-in)
- http://www.microsoft.com/en-us/download/details.aspx?id=26213

The excel file will create a full fledged dashboard that is powered by data that it pulls from Power Pivot - http://www.microsoft.com/en-us/download/details.aspx?id=29074
 

Monday, November 12, 2012

Phone that charges by itself when in stanby…WIP?

Interesting ways by which a phone can charge by itself...Like it, when we will see this out in market is a matter of time I guess :)

Nokia's self phone charging prototype in works?...
  • New talked about prototype - self charging system from Nokia that is able to power itself on nothing more than ambient radiowaves – the weak TV, radio and mobile phone signals that permanently surround us. The power harvested is small but it is almost enough to power a mobile in standby mode indefinitely without ever needing to plug it into the mains, according to Markku Rouvala, one of the researchers who developed the device at the Nokia Research Centre in Cambridge, UK.
  • Nokia's device is somewhat less ambitious and is made possible thanks to a wide-band antenna and two very simple circuits. The antenna and the receiver circuit are designed to pick up a wide range of frequencies — from 500 megahertz to 10 gigahertz — and convert the electromagnetic waves into an electrical current, while the second circuit is designed to feed this current to the battery to recharge it.
  • The trick here is to ensure that these circuits use less power than is being received, said Rouvala. So far they have been able to harvest up to 5 milliwatts. Their short-term goal is to get in excess of 20 milliwatts, enough power to keep a phone in standby mode indefinitely without having to recharge it. But this would not be enough to actually use the phone to make or receive a call, he says. So ultimately the hope is to be able to get as much as 50 milliwatts which would be sufficient to slowly recharge the battery.
More... http://www.guardian.co.uk/environment/2009/jun/10/nokia-mobile-phone

Power through Solar cells under the screen -
Solar cells can fit just underneath the screen so that it take the source light and convert it into energy that can be consumed to charge the phone....
 
Charge your phone through your heat of the body -
Phones that can use an integrated thermogenerator that converts heat into energy. That means it could get a slight charge while sitting in your pocket against your leg and an even bigger charge when you have a temperature! :)

Dont believe, ALL three above can be "the" single alternate source for self charging phones, but why not all three? Could be a game changer next!

Cheers - DJ
 

Saturday, November 10, 2012

Microsoft Surface - tinker attitude?

Someone great sometime mentioned that you should NEVER buy version 1.0 of any NEW product unless you are super rich! :) Here's why it applies for Microsoft Surface reviews and unanswered questions -
  1. Several threads on Microsoft’s support forums detail issues relating to audio stuttering and random muting while the Surface is in use or on standby.
  2. Touch Cover and Type cover are as expensive as buying a new competitor's tablet :) now, hear that these can split open at the seam exposing wiring within.
  3. There still seems to be confusion with most of non IT consumers (well even IT :) on what is the difference between Windows RT v/s Windows PRO launch sometime in January 2013? Difference MSFT claims is that RT is for consumers and Pro is for business.. huh?
  4. Windows 8 Surface
  5. Not only that, which hardware to buy - Dell Surface or one from HP or Acer (if they make them happy :)) or the ones actually manufactured by Microsoft?



Technical sepcifications for Windows RT Surface and Windows Pro Surface on MSFT Site.
 
Help me Choose between Microsoft Windows RT vs Windows PRO Surface -

In addition, you cannot port existing Windows 7 or earlier OS applications to Win 8 RT because its not on Intel chips...doesn't the product become great by its applications? Office included is just home/school version ...very limited.Makes me think. Should wait for Windows PRO ...cost? $999?

All right, enough bashing of Microsoft...I LOVE Microsoft, but what are the answers that the company thinks to beat its competitor product?
  1. Why are there NO carrier plans (3G/4G) provided on Microsoft Surface? How do I get wifi enabled while on move?
  2. Why is there no 16 GB surface with low-cost option? Is that a Strategy to get a high permium product out make margins and then after 6 months reveal cheaper products with varied options.
  3. What is Microsoft's answer to Air? - Is it possible to print documents from Microsoft Surface?
  4. What is MSFT' answer to Voice search - be it on IE Bing or Surface?
  5. Cant' we make out difference between Vapor Mg (low resolution) v/s Apple's Retina?
  6. Where are the apps that WOW me? :)
Time will tell how Microsoft new Windows 8 ecosystem will change consumers bheaviour but as of now it seems Microsoft has put there billion dollar Windows business at test! Wish you good luck,

Cheers - DJ
 

Monday, November 05, 2012

FY13 plans for Microsoft Forefront Identity Manager, Forefront User Access Gateway, and Forefront Threat Management Gateway...

Microsoft Forefront Identity Manager, Forefront User Access Gateway, and Forefront Threat Management Gateway remains alive and Microsoft plans to grow them in FY13 and beyond. here is the article on technet that details more:

http://blogs.technet.com/b/server-cloud/archive/2012/09/12/important-changes-to-forefront-product-roadmaps.aspx

Discontinuing further releases of the following Forefront-branded solutions:
  • Forefront Protection 2010 for Exchange Server (FPE)
  • Forefront Protection 2010 for SharePoint (FPSP)
  • Forefront Security for Office Communications Server (FSOCS)
  • Forefront Threat Management Gateway 2010 (TMG)
  • Forefront Threat Management Gateway Web Protection Services (TMG WPS)
 

My Internet Explorer 9.0 User experience reivew

Here is my Internet Explorer 9.0 User experience reivew :)

LIKE IT -

Pinned Sites - Dragging the IE window over the Windows taskbar in the bottom. Once pinned, next time when you click on it, opens the same program or web site directly. Very much similar to iphone apps made as bookmark or pinned on wall.

Tab isolation - Dragging and taking open tab (window) into new completely window that can be undocked or pinned to your favorites.

Download status - you can pause, cancel and view multiple downloads at the same time,

Tracking Protection - block sites tracking or following you to taget ads or to protect kids.

Hardware accelerataion, security and others.

Support for HTML5, CSS3, Canvas, location services, and SVG has made its way into Microsoft's browser.

Here is the HTML5 Test Suite Conformance Results page -
http://w3c-test.org/html/tests/reporting/report.htm

 

Tuesday, October 30, 2012

Windows 8 for business?

Nice read below - not sure if you agree or disagree? :)


10 essential ingredients of a killer Windows 8 business PC -
http://www.pcworld.com/article/2013248/10-essential-ingredients-of-a-killer-windows-8-business-pc.html   Cheers-  Dipesh

Optimize the performance of Microsoft SQL Server environments


"Plan Explorer FREE and the launch of the new Plan Explorer PRO at 2012 Dev Connections in Las Vegas today, - will help for optimizing the performance of Microsoft SQL Server environments."

SQL Sentry Performance Advisor for
1. SQL Server delivers an advanced performance dashboard with relevant Windows and SQL Server metrics in a single view along with detailed insight of heavy SQL, blocking, deadlocks, and disk bottlenecks.

2. Analysis Services provides unparalleled insight into Analysis Services performance, including bottlenecks related to memory, storage systems, aggregation usage, queries and processing.
3. Event Manager is the ultimate scheduling, alerting and response system for managing SQL Server jobs, SharePoint jobs and other events that impact performance.

P.S: I do not recieve any compensation for writing or promoting these products but is merely interest...

Monday, October 29, 2012

IT: Winning the Retail War: How to Compete With Retail E-commerce Players

Winning the Retail War: How to Compete With Retail E-commerce Players

Accenture suggests 10 ways a multichannel retail approach can help in competing with retail e-commerce players.
Overview Today online retailers are the preferred choice for customers worldwide. Does this mean traditional retailing is over? No. Traditional retailers can too march ahead by offering a multichannel retail experience to customers. Online pure plays have changed the retail game with their new approach to technology, innovation and execution. To compete successfully with retail e-commerce players, Accenture recommends traditional retailers adopt a strategic thinking by applying key principles from Sun Tzu’s The Art of War.
Download the PDF report from the site here - http://www.accenture.com/us-en/Pages/insight-winning-the-retail-war.aspx

OR watch the video here -
http://www.accenture.com/us-en/Pages/insight-winning-the-retail-war-video.aspx

Encryption, key, identity, fraud management and others from Thales...

One of the finest solution that I stumbled upon for database encryption from Thales -

1. Add new levels of assurance to database encryption by helping your organization effectively protect and manage encryption keys.
2. With Thales - nShield hardware security modules (HSMs), you can take full advantage of native database encryption capabilities and still add higher levels of assurance to key management activities, ensuring optimal security, efficiency, and guaranteed accessibility to encrypted data.
3. By storing encryption keys in a protected environment, separate from the database itself, nShield HSMs enforce separation of duties between security staff and DBAs.

More here -
http://www.thales-esecurity.com/solutions/by-technology-focus/database-encryption

Great ready solution for mobile payments, trust, key and identity management. Controlling Fraud and Protecting Intellectual Property solution from Thales.

The proliferation of mobile devices such as smartphones and tablets not only gives consumers more choice, it also has the potential to dramatically expand the payments ecosystem, bringing new players such as mobile operators and handset manufacturers into the mix. Multiple payment advocates are competing for attention, with each party advancing a different vision for where the consumer’s electronic wallet—the trusted source of credentials—should reside: on a card, on a phone, or in the Cloud. These various approaches create new challenges and in some cases have the potential to establish new business models. The traditional role of banks in issuing physical cards that are mailed to users could be replaced by new classes of intermediaries such as Trusted Service Managers (TSMs) that provide over-the-air provisioning capabilities to mobile devices.

The Thales solution is based on the GlobalPlatform Card Specification Version 2.2 and EMV Card Personalization Specification (CPS V1.1), providing the ability to establish a secure session with the Secure Element (SE) based on Global Platform Secure Channel Protocol 02 (SCP02) and to prepare secure messages for the SE.

More here - http://www.thales-esecurity.com/solutions/by-technology-focus/mobile-payments

Watch Windows 8 Surface launch event and Surface dropped on stage!


Windows 8 RT Surface live event webcast
link above -  http://www.microsoft.com/en-us/news/presskits/windows/liveevent2.aspx

Watch Windows 8 Surface Launch Event Webcast

(Start from 48th  minute to see the event,
Scan to 3 hour :20 minutes to watch Surface
dropped on stage!)
 
 

SCM 101

Supply Chain is key to almost all organizations, and few key modules that one must be aware of while working on Supply Chain implementation. These are basic modules that one would need to learn to understand the SC business. Will talk in detail on each in coming days,

Modules -
  1. Planning and Forecasting
  2. Production Planning and scheduling
  3. Materials management and Stock movement
  4. Order to Cash Cycle - Order, Fulfillment and Financials
  5. Inventory management
  6. Distribution Centers (D/Cs)
  7. Supply Chain management
  8. Logistics and Transportation management (Shipping and Carrier management)
  9. Supplier quality check
  10. Reverse Logistics  - Returns and Repair
  11. Customer Service/Care
 - D

Monday, March 19, 2012

Knockout js for MVVM and MVC web applications

Assisting Ryan, I learned how cool Knockout java script library is! :) It really seems to be easy in adopting and faster UX development esp. for MVVM and MVC web applications.

http://channel9.msdn.com/posts/ASPNET-MVC-With-Community-Tools-Part-11-KnockoutJS (MVVM, knockout session 20 minute video on ASP.NET MVC With Community Tools Part 11: KnockoutJS)


Practice here if you dont have it installed - http://www.knockoutjs.com// (tons on step by step instructions and tutorials)


Cheers - DJ

Tuesday, September 27, 2011

Accenture Quarterly results - 4th quarter 2011

Accenture triggered 5% on the stocks today just before the announcement of its 4th quarter results. Accenture PLC's (ACN) fiscal fourth-quarter earnings jumped 37% as the consulting company reported strong bookings.

For the quarter ended August 31, company posted a profit of $611.9 million, or 91 cents a share, up from $445.5 million, or 66 cents a share, a year earlier beating market expectations of 88 cents a share in profit.
Accenture's revenue increased 23% to $7.17 billion. Net revenue, which is before reimbursements, also rose 23%, to $6.69 billion. In June, the company gave an upbeat net-revenue outlook of $6.4 billion to $6.6 billion. Operating margin rose to 13.8% from 13.2%.

Here is an overview-

-- Fourth-quarter revenues increase 23% in U.S. dollars and 14% in local currency, to $6.7 billion; quarterly EPS increase 38%, to $0.91; free cash flow is $1.2 billion --


-- For full year, revenues increase 18% in U.S. dollars and 15% in local currency, to $25.5 billion; EPS increase 28%, to $3.40; and free cash flow is $3.0 billion --

-- New bookings are $8.4 billion for fourth quarter and $28.8 billion for full year --

-- Company increases semi-annual cash dividend 50%, to 67.5 cents per share;

--Board of Directors approves $5 billion of additional share repurchase authority --

-- For fiscal year 2012, Accenture expects net revenue growth of 7% to 10% in local currency and EPS of $3.80 to $3.88, an increase of 12% to 14% --
 
New bookings were $8.4 billion, its highest quarterly bookings ever. Accenture's CEO Pierre Nanterme said the achievement reflected strong demand for Accenture's services, although he said the company is closely monitoring the economic environment.

I think also heard, that the people hire this year was over 70,000 along with GDN and the biggest book value was the Nokia deal this quarter.

Strongest Revenue growth seen as follows -
Resource Operating Group (18%), followed by PRODUCTS (16%), Financial Services (13%) and EMT (Electronics Media and Telecommunications) (13%) and Health Services OG (12%).

Also, Accenture’s total cash balance grew strong @ $5.7 billion, compared with $4.8 billion at Aug. 31, 2010.
http://newsroom.accenture.com/article_display.cfm?article_id=5296

Download PDF here - http://newsroom.accenture.com/article_download.cfm?article_id=5296



Monday, September 26, 2011

How to create Silverlight applications using Expression Studio - basics and fun learning

Learn how to create Silverlight applications using Expression Studio and to apply user interface design principles with the toolbox integrated course. Learn practical techniques to master creating Silverlight applications using Expression studio.


http://www.microsoft.com/design/toolbox/


School learning and helpful for fun study projects -
http://www.microsoft.com/design/toolbox/school/


- Dipesh Joshi

Sunday, September 25, 2011

WCF Interview questions and answers (reference only, uuber level)

The intent to draft this list of questions is for learning purpose only and at very high level understanding of WCF services. This is not a dump :)

Question 1: What is the difference WCF and Web services?
Answer: -
Web services can only be invoked by HTTP. While Service or a WCF component can be invoked by any protocol and any transport type. Second web services are not flexible. However, Services are flexible. If you make a new version of the service then you need to just expose a new end. Therefore, services are agile and which is a very practical approach looking at the current business trends.
Question 2: What are different bindings supported by WCF?
Answer: -
WCF includes predefined bindings. They cover most of bindings widely needed in day-to-day application. However, just incase you find that you need to define something custom WCF does not stop you. So let us try to understand what each binding provides.
BasicHttpBinding: - This binding is used when we need to use SOAP over HTTP. This binding can also be configured to be used as HTTPS. It can be also configured to send data in plain text or in optimized form like MTOM.
WsHttpBinding: - It is same like BasicHttpBinding. In short, it uses SOAP over HTTP. But with it also supports reliable message transfer, security and transaction. WS-Reliable Messaging, security with WS-Security, and transactions with WS-Atomic Transaction supports reliable message.
NetTcpBinding: - This binding sends binary-encoded SOAP, including support for reliable message transfer, security, and transactions, directly over TCP. The biggest disadvantage of NetTcpBinding is that both server and client should be also made in .NET language.
NetMsmqBinding: - This binding sends binary-encoded SOAP over MSMQ. This binding can only be used for WCF-to-WCF communication.
NetNamedPipesBinding:-Ths binding Sends binary-encoded SOAP over named pipes. This binding is only usable for WCF-to-WCF communication between processes on the same Windows-based machine.

Note: - An interprocess control (IPC) protocol is used for exchanging information between two applications, possibly running on different computers in a network. The difference between Named pipes and TCP is that named pipes have good performance in terms of communication with in processes. But when it comes to communicate across network TCP holds the best choice. So if you are using WCF to communicate with process it’s the best choice to use in terms for performance. Named pipes do not perform when the traffic is heavy as compared to TCPIP.

Question 3: What are the main components of WCF?
Answer: -
We need to define three main components in WCF:-
• Service class. • Hosting environment • End point

Question 4: What are the various ways of hosting a WCF service?
Answer: -
There are three major ways to host a WCF service:-
• Self-hosting the service in his own application domain. This we have already covered in the first section. The service comes in to existence when you create the object of Service Host class and the service closes when you call the Close of the Service Host class.
• Host in application domain or process provided by IIS Server.
• Host in Application domain and process provided by WAS (Windows Activation Service) Server.

Question 5: What is a service level message and transport level message?
Answer: -
You can log WCF message at two levels one is service level and the other is transport level. Service level:-In this the messages are logged as they enter the user code or leave the user code. Transport level: - In this the messages are logged as they are ready to be encoded / decoded. All transport level, infrastructure messages and also reliable messaging is logged. You specify the message levels in the diagnostics node as shown in the below code snippet.

Question 6: For which bindings are transport, message and mixed mode supported?
Answer: -
Below is a table which shows for which binding which mode is supported. We did not discuss the mixed mode. It’s nothing but combination of transport and mixed mode. For instance data encrypted and passed over WsHttp using HTTPS is a mixed mode of security. Encryption is nothing but message security and HTTPS is a transport mode. In a combination they form mixed mode.

Question 7: Which bindings in WCF support the message streaming?
Answer: -
Following bindings supports the streaming in WCF:
1. basicHttpBinding 2. netTcpBinding 3. netNamedPipeBinding

Question 8: What are the various ways of hosting a WCF Service?
Answer: - 1.IIS 2.Self Hosting 3.WAS (Windows Activation Service)

Question 9: What is the use of ServiceBehavior attribute in WCF ?
Answer: -
ServiceBehaviour attribute is used to specify the InstanceContextMode for the WCF Service class (This can be used to maintained a state of the service or a client too).

There are three instance Context Mode in the WFC PerSession : This is used to create a new instance for a service and the same instance is used for all method for a particular client. (eg: State can be maintained per session by declaring a variable) PerCall : This is used to create a new instance for every call from the client whether same client or different. (eg: No state can be maintained as every time a new instance of the service is created) Single : This is used to create only one instance of the service and the same instance is used for all the client request. (eg: Global state can be maintained but this will be applicable for all clients)

Question 10: How the concurrency mode is specified in WCF service?
Answer: - The concurrency mode is specified using the ServiceBehavior attribute on the class that implements the service. Ex. [ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Single)] Public class ServiceClass : IServiceInterface{ //Implementation Code } There are 3 possible values of ConcurrencyMode enumeration Single Reentrant Multiple.

Question 11: hat the different transaction options ?
Answer:-

We can specify transaction in 3 ways in WCF:-
TransactionFlowOption.NotAllowed This is a default option. Using this option no transaction will be propagated across the binding. If any client attempts to call the WCF service in a transaction it will be ignored for this option. This option specifies that client can call this WCF service in a transaction. It’s not compulsory that the service needs to be called in a transaction. You can call without the transaction also. TransactionFlowOption.Mandatory This option specifies that client must call the WCF service in a transaction mode. If the WCF service is called without transaction, ‘FaultException’ will be raised.

Question 12: Wat are the advantages of hosting WCF Services in IIS as compared to self-hosting?
Answer: - There are two main advantages of using IIS over self-hosting:-
Automatic activation IIS provides automatic activation that means the service is not necessary to be running in advance. When any message is received by the service it then launches and fulfills the request. But in case of self hosting the service should always be running.
Process recycling If IIS finds that a service is not healthy that means if it has memory leaks etc, IIS recycles the process. Ok let us try to understand what is recycling in IIS process. For every browser instance, a worker process is spawned and the request is serviced. When the browser disconnects the worker, process stops and you loose all information. IIS also restarts the worker process. By default, the worker process is recycled at around 120 minutes. So why does IIS recycle. By restarting the worker process it ensures any bad code or memory leak do not cause issue to the whole system. In case of self-hosting both the above features, you will need to code yourself.

Question 13: What is trace listener?
Answer - ‘Tracelistener’ are objects that get tracing information from the trace class and they output the data to some medium. For instance you can see from the figure ‘TraceListener’ how it listens to the trace object and outputs the same to UI, File or a windows event log. There are three different types of ‘tracelistener’ first is the ‘defaulttracelistener’ (this outputs the data to UI), second is ‘textwritertracelistener’ (this outputs to a file) and the final one is ‘Eventlogtracelistener’ which outputs the same to a windows event log.
Question 14: What is service host factory in WCF?
Answer-
1. Service host factory is the mechanism by which we can create the instances of service host dynamically as the request comes in.
2. This is useful when we need to implement the event handlers for opening and closing the service.
3. WCF provides ServiceFactory class for this purpose.

Question 15: What are the advantages of hosting WCF service in WAS?
Answer- WAS (Windows Activation Service) is a component of IIS 7.0. Following are few advantages : 1. We are not only limited to HTTP protocol. We can also use supported protocols like TCP, named pipes and MSMQ 2. No need to completely install IIS. We can only install WAS component and keep away the WebServer.

Question 16: In WCF which bindings supports the reliable session?
Answer- In WCF, following bindings supports the reliable session - 1. wsHttpBinding 2. wsDualHttpBinding 3. wsFederationHttpBinding 4. netTcpBinding

Reference - Prasham on dotnetfunda.com and Pro WCF: Practical Microsoft SOA Implementation -- Chris and Denis Mulder – Apress 2007.

- DJ

Friday, September 23, 2011

Asp.net migration to Sharepoint

ASP.NET web developers who are moving to SharePoint site creation. This article will explain in detail how an ASP.NET webpage developed in Visual Studio can be converted into a SharePoint site. If there is a requirement for a website created in Visual Studio, just the old fashioned way with the code-behind logic and other layers like Data Access and Business Logic, to be converted into a SharePoint site, and still make it work the same way with the same code-behind, you are in the right place. The article here along with the code explains 3 core steps that will help you to transform your ASP.NET Web Application into a SharePoint site. Step1: Add a Web Deployment Project to your website solution that will create a single DLL for the website. This step will give us the code-behind DLL and other dependency DLLs for the website. Step2: Copy the bin folder items (DLLs) into the SharePoint site, and tweak the web configuration file of the SharePoint site to use the copied DLLs. Step3: Open your created SharePoint site in SharePoint Designer and import the web pages from our web application and link it to the appropriate DLLs. Code and detail step by step instructions on code project - http://www.codeproject.com/KB/sharepoint/ASPNET_to_Sharepoint.aspx There are more instructions @ http://aspnet2sp.codeplex.com/ http://weblogs.asp.net/bsimser/pages/spsmigration.aspx

Wednesday, September 21, 2011

Build 2011 microsoft @ Anaheim

Build day 1 Key notes and Session videos here -
http://channel9.msdn.com/events/BUILD/BUILD2011/KEY-0001

Speakers: Chris Jones , Steven Sinofsky , Antoine Leblonde , Mike Angiulo , Julie Larson-Green

Build day 2 Key notes and Session videos here -
http://channel9.msdn.com/events/BUILD/BUILD2011/KEY-0002
Speakers: Scott Guthrie , Jeff Sandquist , John Shewchuk , Steve Ballmer , Jason Zander , Bryon Surace , Satya Nadella , Dan Fernandez

Covered topics include -
o Windows Server 8, Azure,
o Virtualization & Cloud
o Identity & secure access
o VS 2011 Developer Preview, Windows Azure SDK, Windows Azure Toolkit 1.5 available
• Application lifecycle management
• Visual Studio TFS on Azure as SAAS

Device + Cloud
• Advance debugging in windows azure - (ability to do performance profiling on code deployed)
• Feature: Find Matching Clones(find copies of source code)
o Alpha blending etc

Web and Mobile Reach - ASP.Net MVC 4 Preview
• Page Inspector/DOM Explorer/Source View
• Unification/Bunding feature, folder reference
• jQuery.Mobile.MVC
• Shipping jquery as part of ASP.Net/Visual Studio 11

Windows Server 8
• High availability built into win8
• Ability to move private network to cloud along with IP infrastructure
More on Channel9 videos here - http://channel9.msdn.com/events/BUILD/BUILD2011

Tuesday, September 20, 2011

Vipersmart with Microsoft Azure and Visual Studio for car application tracking and automation

Viper smart start with new Windows 8 and connected with Cloud/Azure - building live tracking applications and alert systems with Microsoft Visual Studio = good for police and justice departments :) http://www.viper.com/smartstart/ key note @ timeframe - 1:10 http://channel9.msdn.com/Events/BUILD/BUILD2011/KEY-0002

Project Management using new Visual Studio 2011 Rosyln

Project Management using new Visual Studio 2011 developer preview - raw notes from Build Session 2 - 1 Visual Team foundation server as a service instead of setting up servers 2 Sprint planning and tracking user stories, tasks 3 All productivity tools are now part of Visual studio 2011 4 jQuery bundled with Visual studio 5 Image editor - making game development interesting Also works with VS 2010 and onto the cloud. More here - http://channel9.msdn.com/Events/BUILD/BUILD2011/KEY-0002 Cheers -Dipesh

MSDeploy - How do I compare 2 websites sitting on different environments behaving differently?

Thinking how do I compare 2 websites sitting on different environments behaving differently and makes you scratch your head whats's going wrong? :)

Use MS Deploy to compare two web sites quickly and find the differences and help you troubleshoot - http://blogs.iis.net/msdeploy/archive/2008/02/02/using-ms-deploy-to-compare-sites-or-see-what-components-your-site-uses.aspx

Helps you also visualize and see the components that your web site uses.

Upload/download files from secured SSH FTP server

Upload or download files from secured SSH FTP server usign SharpSSH.

SSH (Secure Shell) is a protocol to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another. It provides strong authentication and secure communications over unsecured channels. The JSch library is a pure Java implementation of the SSH2 protocol suite; It contains many features such as port forwarding, X11 forwarding, secure file transfer and supports numerous cipher and MAC algorithms. JSch is licensed under BSD style license.

SSH ensures - secure download and user authentication with supported features like -
•Host key type: ssh-rsa and partial ssh-dss.
•Userauth: password, publickey (RSA)
•Generating RSA key pairs.
•SCP and SFTP

Download the demo project here on codeproject - http://www.codeproject.com/KB/IP/sharpssh/sharpSsh_Demo.zip

More here - http://www.codeproject.com/KB/IP/sharpssh.aspx