fb like button code

What is ActionResult in MVC?




What is ActionResult in MVC?

         The action result implementation then deals with the Response object for you, generating the output that corresponds to your intention.
 
 
Step 1:
Create simple empty project in VS 2012.

Now Select basic from Template project
Step 2:
Now add controller to our solution

 
Give name HomeController & select Empty MVC Controller from Scaffolding options.
 
 
 
 
 
Step 3:
Write bellow code in ActionResult

        public ActionResult Index()
        {
            return Content("Welcome to my first MVC application");
        }
Now right click on above method => click add view as like bellow figure
 


Now you will see below window & click on Add



Step 4:Now run the application & you will get output as like this.

0 comments:

What is ViewData, ViewBag, Tempdata in ASP.NET MVC




ViewData:
  • ViewData is a dictionary object that is derived from ViewDataDictionary class.
  • ViewData is a property of ControllerBase class.
  • ViewData is used to pass data from controller to corresponding view.
  • It’s life lies only during the current request.
  • If redirection occurs then it’s value becomes null.
  • It’s required typecasting for getting data and check for null values to avoid error.
ViewBag:
  • ViewBag is a dynamic property that takes advantage of the new dynamic features in C# 4.0.
  • Basically it is a wrapper around the ViewData and also used to pass data from controller to corresponding view.
  • ViewBag is a property of ControllerBase class.
  • It’s life also lies only during the current request.
  • If redirection occurs then it’s value becomes null.
  • It doesn’t required typecasting for getting data.

TempData:
  • TempData is a dictionary object that is derived from TempDataDictionary class and stored in short lives session.
  • TempData is a property of ControllerBase class.
  • TempData is used to pass data from current request to subsequent request (means redirecting from one page to another).
  • It’s life is very short and lies only till the target view is fully loaded.
  • It’s required typecasting for getting data and check for null values to avoid error.
  • It is used to store only one time messages like error messages, validation messages
 


0 comments:

Lionbridge Hiring .NET Developers

Required at Lionbridge: 


1. Software engineer, 2+ years of exp.
2. Lead, 6+ years of exp.
 
Skills set required: Asp.net, Angular JS and Jquery
 
Good to have: MVC, Entity framework
 
Send your CVs to Vishal.Sharma@lionbridge.com by Thursday, 10th Sep 2015.
With reference "share point Mumbai group" in subject lines

Regards
The Sun Infosystems, 
www.thesuninfosystems.com
Pune
Don't forget to like or comments on www.facebook.com/thesuninfosystems
For free job updates on whatsapp @9545273748

0 comments:

ASP.NET VB.NET C# Walk In for Exp. @Mumbai

Dear Candidte,
We are having urgent requirement of Software Engineer.
Company Profile : Tecogis a one stop shop solution provider company based in Mumbai, India. Tecogis is a group of experienced team with passion for delivering superior solutions, products and customer services. Our Motto is to provide high quality service which results in soaring productivity. This service is spread across the globe.

Job Description : Software Engineer
Job Code : SE001

Minimal qualifications include:
    Candidate must possess a Bachelors degree in Computer Science or related discipline.
    1 - 5 year(s) hands-on experience in software engineering / development.
    Strong understanding of software engineering principles and its application.
    Excellent interpersonal and communication skills. Must be an achiever and go-getter.
 
    Required Skills: VB.Net, ASP.Net, ASP, C#, MSSQL.
He or she will also have a strong desire to learn new technologies and be willing to go "all in" to achieve project and company goals.

Interview Date and Time :
Friday 11th September 2015. Between 10 A.M. to 5 P.M.

Venue:
Tecogis Software Solutions
302-303, 3rd Floor, Mahalaxmi Ind. Estate,
D.P.Road, Gandhi Nagar,
Lower Parel (West), Mumbai 400013.

Interview  Process
1. Aptitute Test
2. Technical Round
3. Online Test
3 Final Round

Please note interview is applicable for candidate of Mumbai Resident only and if you have given interview in our organisation in last 6 months then please ignore this email.

Contact
Human Resource
Tecogis Software Solutions
022-40203600

Regards
The Sun Infosystems,
Pune
Www.thesuninfosystems.com
Don't forget to like or comments on www.facebook.com/thesuninfosystems
For free job updates on whatsapp @9545273748

0 comments:

Persistant System Hiring @Pune, Hydrabad

Persistent systems ltd
----->>Walkin and receive offer on same day.

Duration: 9-Sep-2015 To 30-Sep-2015

Time: 8.30am to 5 pm

Experience: 4-10 years

Openings:
1. Java developers:- Experience in core java,Spring, Hibernate, & Web services
2. .Net developers:- Requires experience in C#.Net, WPF/WCF & database
3. UI developers:- Requires experience in HTML5,CSS & one of the frameworks-OOJS, AngularJS
4. Selenium Testers:- requires experience in selenium testing and java
5. C++ developer:- requires experience in C++ with Linux/Unix

Location:
Persistent systems, Bhageerath,402E, Senapati Bapat Road, Pune- 411016

OR
Persistent systems, Hinjewadi,plot no 39 Phase 1, Rajiv gandhi IT park, Pune- 411057

OR
Prsistent systems, Bengaluru branch

OR
Persistent systems, Hyderabad branch

Regards
The Sun Infosystems,
www.thesuninfosystems.com
Pune
Don't forget to like or comments on www.facebook.com/thesuninfosystems
For free job updates on whatsapp @9545273748

0 comments:

Exp Job Opening for Mumbai Location

 
Mastek is currently recruiting for ASP.NET MVC..

Experience Required: 3-6 yrs 

Location:  Mumbai 

If you have any friends or colleagues looking for change...then send resume on ramesh.prajapati@mastek.com

Thanks
The Sun Infosystems,
Pune
Don't forget to like or comments on www.facebook.com/thesuninfosystems
For free job updates on whatsapp @9545273748

0 comments:

Facebook