2007-09-30

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

MS Silverlight versus Adobe Flash

http://www.microsoft.com/silverlight/
MS announced the approach to the graphical user interface design candidate for web applications. Silverlight is used to buld the site www.tafiti.com

2007-09-24

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

How to Create a Discount

To create a discount

In Visual Studio, create a new Commerce Server Web application.
Add the Microsoft.CommerceServer.CrossTierTypes and Microsoft.CommerceServer.Marketing.CrossTierTypes references to the application.
Add a using directive for the Microsoft.CommerceServer and Microsoft.CommerceServer.Marketing namespaces.
Define the Marketing Web Service URL.
Create the MarketingContext object.
For more information, see How to Connect to the Marketing System. In this example, the MarketingContext is named marketingSystem.
Look up the Default Campaign ID.
Look up the Promotion code ID.
Create the Discount.
Save the Discount.
http://msdn2.microsoft.com/en-us/library/aa544659.aspx

Model-View-Controller Architectural Pattern

User Interface Process Application Block for .NET*
http://msdn2.microsoft.com/en-us/library/ms998252.aspx

Summary: *The User Interface Process Application Block provides a simple
yet extensible framework for developing user interface processes. It is
designed to abstract the control flow and state management out of the user
interface layer into a user interface process layer. This enables you to
write generic code for the control flow and state management of different
types of applications (for example, Web applications and Windows-based
applications) and helps you write applications that manage users' tasks in
complex scenarios (for example, suspending and resuming stateful tasks).
This leads to simpler development and maintenance of complex applications.
The User Interface Process Application Block can easily be used as a
building block in your own .NET application. (11 printed pages)



*Model-view-controller (MVC) Architectural Pattern*

http://en.wikipedia.org/wiki/Model-view-controller


It is common to split an application into separate layers: presentation
(UI), domain logic, and data access. In MVC the presentation layer is
further separated into view and controller . MVC encompasses more
of the architecture of an application than is typical for a design pattern.
Model The *domain*-specific representation of the information on which the
application operates. Domain logic adds meaning to raw data (e.g.,
calculating whether today is the user's birthday, or the totals, taxes and
shipping charges for shopping cart items). Many applications use a
persistent storage mechanism (such as a database)
to store data. MVC does not specifically mention the data access layer
because it is understood to be underneath or encapsulated by the Model. View
Renders the model into a form suitable for interaction, typically a user
interface element. Multiple views can exist for a single model for different purposes. Controller Processes and responds to events, typically user actions, and may invoke changes on
the model.

2007-09-06

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Encrypt / Decrypt using C#

A very cool article from Syed Moshiur Murshed. In this article you may find useful encrypt decrypt functions which utilized .NET Framework's System.Security.Cryptography namespace.
Read it from CodeProject