Microsoft Student Partner (MSP) Capacity Build up Training (Session 01) Course Title: Object Oriented Programming with C# Venue: East West University, Dhaka, Bangladesh Date: 28 May, 2016 Speaker / Trainer: Md. Mahedee Hasan, Microsoft MVP, Visual Studio and Development Technologies Software Architect, Leadsoft Bangladesh Limited Trainer, Leads Technology Limited
Category: ASP.NET Webforms
ASP.NET Application Performance Tuning and Scalability Improvement (Part – 1)
Every developers and customer wants his/her application performed well. But it is very tricky to improve performance of a web application. It’s actually depends on different parameter like HTML client, HTTP network, Web server, middle-tier components, database components, resource-management components, TCP/IP networks, and database servers. Sometimes performance of the application increases drastically, if you change
bobj is undefined
Problem Statement I have an application developed with the following tools and technologies. MS .NET Framework 4.5 SAP Crystal Report 13.5 ASP.NET Web form SQL Server 2008 R2 In deployment server the report is not displayed. Instead I found a javascript error “bobj is undefined”. But it works fine in development server. Solutions Copy aspnet_client
How to add ASP.NET MVC to a Web form application
ASP.NET MVC is very popular now a day. But we have much legacy system of ASP.NET web form. If you want to use ASP.NET MVC with legacy ASP.NET web form application. What should you do? This is not encouraged to create an application with ASP.NET web form and ASP.NET MVC together. If you need, you
Retrieving a collection of objects with page methods and AngularJS in ASP.NET Web form
Page Methods are asp.net web form feature. It is an easy way to communicate with the server. You can communicate with server using Page Methods and can do anything you like but mind it is not restful form of communication. In this solution I used visual studio 2012 and bootstrap. So let’s start to retrieve
Introduction to AngularJs and Bootstrap in ASP.NET Web form
Revolution just arrived. Client side development is getting easier and cheaper. AngularJs is one of the client side development JavaScript framework. It is developed by google. Website designing also get easier due to emerge of bootstrap. Now let’s introduce AngularJS and Bootstrap in a asp.net web form application. Here I used visual studio 2012 as
Web gardening in IIS 7, configure step by step
Introduction “Web garden” scaling out by increasing the number of worker processes per CPU. Web gardening will allow more than two subscribers to synchronize at the same time. Before going to the details of web garden, I hope you have fundamental idea on application pool and worker process. Just for reminder – for request processing
Jump Start to be Software Developer (Session-4)
Speech on “Jump Start to be Software Developer (Session 4)” . Topic: Develop a POS system from scratch by ASP.NET and SQL Server Technical Speaker: Md. Mahedee Hasan Venue: Microsoft Bangladesh Organized by: Microsoft Bangladesh & Tech Forum Date: 1 June, 2014
Introduction to Web services with ASP.NET
What is Web Services? Web service is a method of communication between two web based application using XML, SOAP, WSDL and UDDI open standards over an internet protocol backbone. Web service can convert your application into web application which can publish its function or message to the rest of the world). Web service are- Web
A Simple Demonstration with ASP.net GridView
GridView is a powerful control of ASP.net. Here I tried to demonstrate gridview with a simple project. I have stored employee information then displayed it in gridview and insert, update and delete employee information. Step 1: Create a table name hrm_employee and insert some sample data in it. –Create Table : hrm_employee— CREATE TABLE hrm_employee
Training on : ASP.NET – Part I
ASP.net from Mahedee Hasan
Determine whether Caps Lock is ON in ASP.net Page by JavaScript
Here I used a simple Textbox in ASP.net page and used Javascript to determine whether Caps Lock is on or off. I have used the following Javascript code in between head tag. function isCapslock(e) { e = (e) ? e : window.event; var charCode = false; if (e.which) { charCode = e.which; } else if
How to send email in ASP.net
ou have to configure SMTP server before sending email from your server. Hope you already know how to configure smtp server. Here is the simple code segment for sending email against a button click. protected void btnSendMail_Click(object sender, EventArgs e) { SmtpClient smtpClient = new SmtpClient(); MailAddress fromAddress = new MailAddress(“mahedee_hasan@leads-bd.com”); //Sender email address MailMessage
Retrieve data from database by first ASP.net program
You who are very beginner and want to retrieve data from database, can use the code snippet. Though this is not good practice, this is very useful for beginners. Because beginners is not interested to layer architecture can not create connection string in web.config file. Here, I have create a city_info table and displayed this
ASP.NET Membership Step by Step
ASP.NET provides build in control to validate and store user credential. So, membership helps to manage user authentication and authorization in website. The membership provider is the glue between Login controls and membership database. Step 1: Implementing the Membership and Role Provider Suppose we are going to create a website by Visual Studio 2010. If
Populate Dropdownlist with selected Index
This is a demo to populate asp.net dropdownlist by C#. Step 1: Create a asp.net dropdownlist Create a dropdownlist in asp.net page. Here, I created a dropdownlist name ddlStudentInfo. Step 2: Create StudentInfo class Create a student info class to create list of StudentInfo object. public class StudentInfo { public int Id { get; set;
File Upload to Server with ASP.net
File Upload to Server with ASP.net Uploading file to server from client sometimes very tricky. Sometimes it is required that you will not upload file more than certain size. This is the step by step approach to upload file from client to server. Step 1: Add html input type as file Step 2: Create a
ASP.net : Common Interview Questions
What is MS .NET? What is IL/MSIL? What is CLR? How ASP.net works in web? What is the difference between layer and tire? How ASP.net Provider model works? What is directive in asp.net pages? What is master page and contant page? What is ASP.net themes? How it works? What is web.config and machine.config? What is
Global variable of ASP.net
Global variables are those variables that can be accessed anywhere in the application. Global variable should always be used with caution. It stores data. The most common way of accessing global variables in ASP.net are by using Application, Cache, and Session Objects. Application – Application objects are application level global variables, that need to be
ASP.NET (All Articles) at a glance
ASP.NET MVC How to add ASP.NET MVC to a Web form application
Visual Studio 2005 debugger does not work in IE 8!
Do you face debugger problem of Visual studio 2005 in IE 8? Yes, I faced problem. Few days, Debugger of Visual studio 2005 was not working in IE8 in my pc. This is because IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes. Older version of