Showing posts with label net. Show all posts
Showing posts with label net. Show all posts
Wednesday, December 28, 2016
UFONE FREE NET 2014 WORKING
UFONE FREE NET 2014 WORKING
UFONE FREE NET 2014 [WORKING]
Bus Ye Steps follow Karien!
APN wap.ufone.com/lowbalance
proxy server:172.16.13.26
port:8080
proxy type:host
server:wap.ufone.com/lowbalance
Agar ap Java Mobile Istemal karty hain To Ye Prov File Chaina Mobile Me Kr K APNy Mobile Me send karain Or Settings Save Kr Dain !
download prov file
Download Firefox Handler
Uc browser Handler Browser Android K lye Download
Opera handler Browser android.apk Download
Go to link Download
Sunday, October 30, 2016
VB Net Do While Loops and Select Cases
VB Net Do While Loops and Select Cases
Hello guys in this tutorial I will share simple code of vb.net which you can utilize in your menus sub menus and sub sub menus. Hope so you like this code .
this is link to code :-)
#ftcwsy66-19411 - VB - Sourcecode
this is link to code :-)
#ftcwsy66-19411 - VB - Sourcecode
Go to link Download
Thursday, September 1, 2016
What is Routing in MVC ASP NET and How to use routing
What is Routing in MVC ASP NET and How to use routing
Routing
It maps request URL to a specific controller action using a Routing Table. It is used to make user friendly URL.
Example :
URL without routing : http://locahost:XXXX/Employee.aspx?Id=10
URL with rotuing : http://locahost:XXXX/Employee/10/
In ASP.NET MVC we can use Routing in two ways..
- Traditional routing
- Attribute routing
Traditional routing :
Go to RouteConfig.cs in App_Start folder:
Copy the marked code as in image and past above it

Now let suppose that we have a view named About and we want that when user type http://locahost:XXXX/WhoAreYou in the URL then this page will displayed.
For this we edit RouteConfig code as follows.

Now Run the Project and go to URL like this
http://locahost:XXXX/WhoAreYou
There you can see the About page.
Attribute Routing :
Attribute routing is easier then traditional routing.
Enabling Attribute Routing:
To enable attribute routing, call MapMvcAttributeRoutes during configuration, as shown in image

Now go to Home controller and add this [Route(URL)] above the action method we want to route.
For example
[Route("JoinUs")]
publicActionResultContact()
{
ViewBag.Message = "Your contact page.";
returnView();
}
No Run the project and go to URL like this
http://locahost:XXXX/JoinUs
You can see the Contact page there. This is the simple attribute routing.
Now lets take some examples of routing with parameters.
Go to Home controller and following code to About action method
[Route("AboutUs/{id?}/{sec?}")]
publicActionResultAbout(intid,stringsec)
{
ViewBag.id = id;
ViewBag.sec = sec;
returnView();
}
Now go to About view to receive id and sec there . To do so,add following code there
<h1>Id : @ViewBag.id</h1>
<h1>Sec: @ViewBag.sec</h1>
Now run the project and go to the URL like this
http://locahost:XXXX/AboutUs/2/B
following output will be there

Click here to Download complete routing Visual Studio 2013 Project

---------------------------
Video Tutorial
Go to link Download
Subscribe to:
Posts (Atom)