Monday, November 05, 2012

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

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

Monday, September 19, 2011

Build event for Microsoft 2011 - Keynotes, sessions and excerpts

Keynotes and sessions from Build event day1 -
Speakers: Chris Jones , Steven Sinofsky , Antoine Leblonde , Mike Angiulo , Julie Larson-Green
http://channel9.msdn.com/events/BUILD/BUILD2011/KEY-0001

Keynotes and sessions from Build event day2 -

http://channel9.msdn.com/events/BUILD/BUILD2011/KEY-0002

o Windows Server 8 and Azure
o Virtualization & Cloud
o VS 2011 Developer Preview, Windows Azure SDK, Windows Azure Toolkit 1.5 available
o Visual Studio TFS on Azure

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

Demo by Scott Gutherie - Web and Mobile Reach - ASP.Net MVC 4 Preview
• Page Inspector/DOM Explorer/Source View
• Unification/Bunding feature, folder reference
• Shipping jquery as part of ASP.NET/visual studio Roslyn - jQuery.Mobile.MVC
• WebSocket API exposed with .NET 4.5 that allows connection to websocket from anywhere

Web and Mobile Reach/Web TFS
• SaaS for TFS and Windows Server 8 infrastructure

Tools for building Metro style applications

Video on channel 9 as part of Build event for Microsoft 2011 here on tools to build Metro style applications quickly.

http://channel9.msdn.com/events/BUILD/BUILD2011/BPS-1006

Platform for understanding Metro style apps here -
http://channel9.msdn.com/events/BUILD/BUILD2011/BPS-1005

Thursday, September 15, 2011

Directory of companies that provide Cloud Computing Network Services & Products

Here is the exhaustive list of Cloud computing network services directory that details companies who have built enterprise solutions/software, platforms that are exposed to be consumed as services on Cloud.

Here on cloudbook -
http://www.cloudbook.net/directories/product-services/cloud-computing-directory?category=Network&type=Network

Wednesday, September 14, 2011

Windows 8 Preview download and steps on how to install the bits from ISO file.

Windows 8 Preview download here on MSDN -
http://msdn.microsoft.com/en-us/windows/apps/br229516


How do I install the Windows Developer Preview from a disk image file?
http://social.msdn.microsoft.com/Forums/en-US/windowsdeveloperpreviewgeneral/thread/ee1551b7-2508-413e-a1ff-cf00a97b80a5

How do I convert an html page to MHTML (Web Archive) format using .net code?

How do I convert an html page to MHTML (Web Archive) format using .net code?

MHTML format is the web archive option that bundles the web page and all of its references into a single compact .MHT file. It's a lot easier to distribute a single self-contained file than it is to distribute a HTML file with a subfolder full of image/CSS/Flash/XML files referenced by that HTML file.
If you are using a Document Management System to check HTML reports or something then you the system would expect only 1 file as INPUT. In that scenario, web archive options (MHTML) works well. Here is the code that can be referenced on codeplex that can help achieve this.

http://www.codeproject.com/KB/files/MhtBuilder.aspx