Project Management

My note on: what is project and how should we proceed and close project successfully.

 

A project is temporary in that it has a defined beginning and end in time, and therefore defined scope and resources.

And a project is unique in that it is not a routine operation, but a specific set of operations designed to accomplish a singular goal. So a project team often includes people who don’t usually work together – sometimes from different organizations and across multiple geographies.

The development of software for an improved business process, the construction of a building or bridge, the relief effort after a natural disaster, the expansion of sales into a new geographic market — all are projects.

And all must be expertly managed to deliver the on-time, on-budget results, learning and integration that organizations need.

From : https://www.pmi.org/about/learn-about-pmi/what-is-project-management

 

5 steps in project management.

  1. Initiating
  2. Planning
  3. Executing
  4. Monitoring and Controlling
  5. Closing

Initiating

  • Call on right people with clear goal.

Define

  • Scope
  • Time
  • Quality
  • Communication method
  • What needs to be bought, subscribe order

Planning

  • Write all to do (Gannt Chart), Feature, Story, Tasks
  • Risk management

Executing

  • Just do it
  • Are assignments OK?

Monitoring Controlling

Check:

  • Is it on schedule?
  • Is quality OK?
  • All scopes are staying within scope?
  • Is initial risk management good enough?

Closing

  • Check and see if project has 1 come to the end of schedule, 2 complete objectivity.

Working with Pinnacle API – Get Leagues

This is a follow up article of  Working with Pinnacle API.

Next operation is to get a list of leagues under a specific sports.  Let’s try to continue from the previous view and get list of leagues.

Let’s go to PinnacleAPIHandler and make another class function to call the API operation v2/leagues?sportid={sportid}, and also get new Model ready for request and response of this API.

Continue reading “Working with Pinnacle API – Get Leagues”

Working with Pinnacle API

Today, I am here playing with Pinnacle API, get game information, run statistics, using C#.

The referecen document is here at “Getting started” https://www.pinnacle.com/en/api/manual#getting-started

First you need to create account here, https://www.pinnaclesports.com/secure/signup.aspx

Then get your client ID, store it to secure place, suggest place will be inside Web.config.

Please be sure that your account is funded, else the credential will not work.

OK, assuming that you got your account and got your credential in your web.config.

Continue reading “Working with Pinnacle API”

Custom Error Page for ASP.Net MVC

An error happens, and when it happens you want to display something nice to users, here is how.

Go to web.config, find <system.web>

Now go to App_Start/FilterConfig.cs, make sure filter is added, as below;

Then go to Views/_Shared, create new view.  Example;

 

ASP.Net Return Empty Results

When you get request but not able to return appropriate result back, it is good idea to return http status code to let them know what’s wrong.

https://msdn.microsoft.com/en-us/library/system.web.mvc.httpstatuscoderesult(v=vs.118).aspx

And here is the list full

https://msdn.microsoft.com/en-us/library/system.net.httpstatuscode(v=vs.110).aspx

Ones that I use often

When input parameter is not valid
HttpStatusCodeResult(HttpStatusCode.BadRequest)

When the access is unauthorized
HttpStatusCodeResult(HttpStatusCode.Unauthorized)

When there is nothing to show (likely had no matching data record to create page)
HttpStatusCodeResult(HttpStatusCode.NotFound)

And when you want to tell search engine that page has been moved permanently, then use