SQL Server Reporting Services Tutorial 4 - Create charts
Create a chartPrepare queryselect i.title as device, sum(t.quantity_purchased * transaction_price_value) as amount, round(sum(t.quantity_purchased * transaction_price_value) /...
View ArticleSQL Server Reporting Services Tutorial 5 - Integrate reports in web page
Prepare report(s)/chart(s)Report1:Report2:Integrate reports - way1: use iframefind the report file at http://localhost/reportserveropen a report and get the url...
View ArticleASP.NET SOAP ASMX Web Services Tutorial
IntroductionA web service is a web application which is basically a class consisting of methods that could be used by other applications. Active Server Methods (ASMX) is a solution put forwarded by...
View ArticleASP.NET WCF Service Tutorial
Download sourceIntroductionWCF(Windows Communication Foundation) is a service layer that allows us to build applications that can communicate using a variety of communication approaches. With it, you...
View ArticleASP.NET SOAP ASMX Web Services Tutorial
IntroductionA web service is a web application which is basically a class consisting of methods that could be used by other applications. Active Server Methods (ASMX) is a solution put forwarded by...
View ArticleASP.NET WCF Service Tutorial
Download sourceIntroductionWCF(Windows Communication Foundation) is a service layer that allows us to build applications that can communicate using a variety of communication approaches. With it, you...
View ArticlenopCommerce tutorial 1 - installation and debug
Prepare environmentoperating system windows 7+, sql server 2008+control panel > program and features > turn windows feature on/off > IIS > Application Development Features > install...
View ArticlenopCommerce tutorial (2) increase file upload size
IssuenopCommerce throws exception when uploading a large file for downloadable products.SolutionPlease modify web.config because nopCommerce uses .NET MVCPlease note that the default maximum filesize...
View ArticleEntity Framework working with stored procedure
Preparation databasecreate a Blog tableCREATE TABLE Blogs( BlogId int IDENTITY(1,1) PRIMARY KEY, Name nvarchar(50), Url nvarchar(50) )Populate some dataINSERT INTO dbo.Blogs ( Name, Url ) VALUES (...
View ArticlenopCommerce tutorial - (3) develop a plugin
IntroductionThere are two approaches to customize nopCommerce to fit our needs. Plugin can be used to extend the functionality of nopCommerce. Theme can be used to define the look and feel of pages and...
View ArticleChain of state pattern for auto processing
IntroductionState patternState pattern is a behavioral software design pattern. It implements a state machine in object-oriented design. State pattern can be used to maintain various states in our...
View ArticleAPICloud tutorial
Download sourcePrepare environmentDownload and install APICloud Studio2or the complete IDE at APICloud SDK. It includes APICloud Studio、Sublime APICloud Plugins、WebStorm APICloud...
View ArticleNested transaction in C#
SenarioWe have a simple table with Request <-> Log is one-to-many relationship.scriptcreate table Log ( [Id] [bigint] not null identity, [Timestamp] [datetime] not null, [EmployeeNo]...
View ArticleSwagger tutorial
IntroductionSwagger is a powerful framework of API developer tools for the OpenAPI Specification(OAS). OpenAPI specification (formerly known as the Swagger Specification) is a definition to describe...
View ArticleHangfire Tutorial (1) Introduction
OverviewScheduling jobs in Web applications is a challenge, and we can choose from many job scheduling frameworks.Hangfire: an open-source framework that helps us to create, process and manage...
View ArticleHangfire Tutorial (2) Job Types
IntroductionThere are different types of background tasks. In previous posting, we create a simple one-time-running task (namely fire-and-forget job). Here is a list of types of job.Fire-and-forget...
View ArticleMoq mocking tutorial
IntroductionMocking technique is very useful for testing purpose. Moq is a third party framework that enables us to create the dummy class and dummy implementation. This is very useful in the scenarios...
View ArticleAsynchronous programming tutorial in Angular
IntroductionAsynchronous programming is an important technique to create web applications. It allows units of work to run separately from the primary application thread and makes main application...
View ArticleCommand & Rollback design pattern practice
OutlineIntroductionMamonto pattern WorkflowBenefitsImplementation stepsSample codeCommand pattern WorkflowBenefitsImplementation stepsSample codeComparisonA comprehensive demoIntroductionIn typical...
View ArticleASP.NET authentication
Form authenticationASP.NETcreate a windows form projectweb.config<authentication mode="Forms"> <forms name=".ADAuthCookie" timeout="10" /> </authentication> specify...
View Article