The blog is created to discuss Prince2 methodology any issues faced in project management to be resolved or discussed and .Net Technology
Tuesday, July 10, 2012
Android Jelly Bean 4.1 source code is released to AOSP
The Source Link:
Wednesday, June 27, 2012
CyanogenMod 9.0 RC1 released for 50 Devices
The CyanogenMod 9.0 has been in the works for quite a long time now but it seems it is only a matter of time now before the final version gets released. But before we get there, the CyanogenMod team has decided to release the first Release Candidate today, that includes support for 50 devices....
Source
Monday, June 25, 2012
Made in Pakistan Tablets,Note Books and E-Books
I have gone through this site and was overwhelmed with joy that we have products like these made in Pakistan.
PAC-PAD Takhti 7 (second generation tablet)
PAC-PAD 1 (first generation tablet discontinued)
PAC-eBOOK 1 (E-Book)
PAC-nBOOK 1 (Note Book)
You can visit the following site to have a look.
PAC Electronic gadets
Buy these products instead of Chinese.
Sunday, June 24, 2012
Introduction to ASP.Net MVC architectural pattern
1) Model
2) View
3) Controller
The MVC framework is defined in System.Web.Mvc namespace.The MVC provide full control over javascript, css, html.
1) Models
Model components are part of application that deals with data source.Models are used to retrieve and store objects into the data source. For example a car information is retrieved and then work is performed on the data and then the update data is saved into the data source.
2) Views
Views are components that makes up the UI segment.The views are created from the Model data. For example View is the interface of the vehicle's information edit view.
3) Controllers
Controllers are the components that handles the user interaction. Controller read data from the view, control user input and send the data to model.
Saturday, June 2, 2012
Difference Between Asp.net Web Pages, Asp.net Web Forms, Asp.net MVC
1) ASP.Net Pages
ASP.NET Web Pages focuses on adding dynamic (server-side) code and database access to HTML pages, and features simple and lightweight syntax.
2) ASP.Net Web Forms
ASP.NET Web Forms is based on a page object model and traditional window-type controls (buttons, lists, etc.). Web Forms uses an event-based model that's familiar to those who've worked with client-based (Windows forms) development.
3) ASP.Net MVC
ASP.NET MVC implements the model-view-controller pattern for ASP.NET. The emphasis is on "separation of concerns" (processing, data, and UI layers).
Summary
All three frameworks are fully supported and continue to be developed by the ASP.NET team. In general, the choice of which framework to use depends on your background and experience with ASP.NET.
ASP.NET Web Pages in particular was designed to make it easy for people who already know HTML to add server processing to their pages. It's a good choice for students, hobbyists, people in general who are new to programming. It can also be a good choice for developers who have experience with non-ASP.NET web technologies.
Tuesday, May 29, 2012
Razor syntax with C#
Razor Syntax Article on MSDN
Saturday, December 31, 2011
Ways to Transfer Data Between Asp.net Pages
1. Use the querystring:
protected void QueryStringButton_Click(object sender, EventArgs e)
{
Response.Redirect("QueryStringPage.aspx?Data=" + Server.UrlEncode(DataToSendTextBox.Text));
}
2. Use HTTP POST:
protected void HttpPostButton_Click(object sender, EventArgs e)
{
// The PostBackUrl property of the Button takes care of where to send it!
}
3. Use Session State:
protected void SessionStateButton_Click(object sender, EventArgs e)
{
Session["Data"] = DataToSendTextBox.Text;
Response.Redirect("SessionStatePage.aspx");
}
4. Use public properties:
public string DataToSend
{
get
{
return DataToSendTextBox.Text;
}
}
protected void PublicPropertiesButton_Click(object sender, EventArgs e)
{
Server.Transfer("PublicPropertiesPage.aspx");
}
5. Use PreviousPage Control Info:
protected void ControlInfoButton_Click(object sender, EventArgs e)
{
Server.Transfer("ControlInfoPage.aspx");
}
// target page:
protected void Page_Load(object sender, EventArgs e)
{
var textbox = PreviousPage.FindControl("DataToSendTextbox") as TextBox;
if (textbox != null)
{
DataReceivedLabel.Text = textbox.Text;
}
}
6. Use HttpContext Items Collection:
protected void HttpContextButton_Click(object sender, EventArgs e)
{
HttpContext.Current.Items["data"] = DataToSendTextBox.Text;
Server.Transfer("HttpContextItemsPage.aspx");
}
// target page:
protected void Page_Load(object sender, EventArgs e)
{
this.DataReceivedLabel.Text =(String) HttpContext.Current.Items["data"];
}
7. Use Cookies:
protected void CookiesButton_Click(object sender, EventArgs e)
{
HttpCookie cook = new HttpCookie("data");
cook.Expires = DateTime.Now.AddDays(1);
cook.Value = DataToSendTextBox.Text;
Response.Cookies.Add(cook);
Response.Redirect("HttpCookiePage.aspx");
}
// target page:
protected void Page_Load(object sender, EventArgs e)
{
DataReceivedLabel.Text = Request.Cookies["data"].Value;
}
8. Use Cache:
protected void CacheButton_Click(object sender, EventArgs e)
{
Cache["data"] = DataToSendTextBox.Text;
Server.Transfer("CachePage.aspx");
}
// target page:
protected void Page_Load(object sender, EventArgs e)
{
this.DataReceivedLabel.Text = (string) Cache["data"];
}
Actually, there are a number of other methods. You can use a database, a Data Store such as Redis or BPlusTree, file storage, or even the Appdomain Cache. But as these are not as common, we'll leave those as an exercise for the reader. I should mention that the use of Cache and Application (not shown) are not user - specific, but they can easily be made so by prepending the key used with something unique to the user such as their SessionId.
Courtesy:Peter Bromberg
Wednesday, October 5, 2011
History of Management
It may not be present with the current glittering terms used today but we can date back to people management during Egyptian Pharos.
Things to ponder at that time they have to manage people,raw material,logistics etc
For a single pyramid it approximately requires 100,000 workers for 20 years, so there is some sort of basic management.
Thus the term Management took many shapes over the years and now it is in this current shape.
Wednesday, September 14, 2011
Tip of the day
Saturday, August 13, 2011
What is Business Case a good illustartion
The Business Case is used to determine whether the project remains
viable desirable and achieveable so that informed investment decisions
can be made. Remember, the whole point of investing the time and money
in the project - along with the attendant risks, is that the
benefits are worthwhile.
The cost verses benefits verses risk balance will determine if the
Business Case is desirable.
The fact that the project CAN deliver the products would mean that the
Business Case is viable.
The fact that the project's products have the capability to realize
the benefits means the Business Case is achieveable.
It's worth reminding ourselves Faisal that the project's
OUTPUT is the end product, and this in turn will produce an OUTCOME
(the result of the CHANGE), and lead - usually over time,
to BENEFITS being realized, which is the measurable improvement
resulting from the OUTCOME.
An outline Business Case is created during the Starting Up a Project
process, and is contained within the Project Brief. This will be used
as part of the 'evidence' to put before the Project Board at the
activity 'Authorizing Initiation'.
The Outline Business Case is refined during the Initiating a Project
process as a result of extracting timescale, cost and risk information
from the Project Plan. At this point, the benefits contained within the
Detailed Business Case are used to create the Benefits Review Plan.
The Executive of the Project Board is responsible for ensuring that at
all times, the Business Case represents 'value for money'
The Project Manager will normally prepare the Business Case on behalf
of the Executive, assess and update it at the end of each stage,
and use it to report on the project performance at project closure.
The Senior User is responsible for identifying the benefits and will be
held to account by Corporate or Programme Management after the
project has finished.
The Business Case contains:
- The reasons why the project is needed, and how it will enable the
achievement of corporate strategies and objectives
- Analysis and reasoned recommendation for the business options covering:
Do Nothing
Do the minimum
Do something
- A list of each benefit including its quantifiable current status.
Benefits can be financial and non-financial,
- Dis-benefits. Outcomes perceived as negative by one or more stakeholders.
A dis-benefit is an anticipated consequence as a result of the
project outcome, and should not be confused with a risk.
- The project timescale and the benefit realization period.
- Summarized Project Plan costs including any cost-based assumptions.
The costs should include ongoing operations and maintenance costs
and their funding arrangements
- Investment Appraisal. Compares the aggregated benefits and
dis-benefits to the project costs (extracted from the Project Plan),
and ongoing incremental operations and maintenance costs.
- Risks. These are a summary of the aggregated risks that may either
reduce or enhance the benefits
The Business Case is a key decsion-making management product, and is
used at key points during a project. In particular:
- The Project Mandate should contain the reasons why the project is needed.
These are refined in the Starting Up a Project process and used to
form the Outline Business Case
- When authorizing the initiation stage
- when authorizing a project (signing off the PID)
- At each end stage assessment, having been updated at the end of the
current stage
- At each Exception Assessment - based on a requested Exception Plan
and subsequently updated for presentation to the Project Board
- It is checked as part of impact analysis when assessing an issue
or a risk during a stage
- It is used as part of the Closing a Project process to determine the
likelihood of expected benefits being realized
- It is used as an input when creating and updating the Benefits Review Plan.
The Benefits Review Plan is used to define how and when a measurement
of the achievement of the project's benefits expected by the Senior User,
can be made