MVC Entity Framework Code First - Step 3

In MVC, Entity Framework Code First Model is good fit and easy to use. In this case we don't need to create our model separately. Whatever the model we created in our previous article is enough to create the table for category which we are going to achieve in this article and maney more. We will learn how to use Entity Framework with code first, how to decorate properties of table, property data... By Ali Adravi   On 28 Feb 2015  Viewed: 2,237
  • mvc
  • entity-framework

Learn MVC Step 2 - Model View Controller

In this article we will learn to create model, controller and finally we will add view to render the list of categories by using list template. First we will try to render the list of hard coded values then in next article we will use Empty Framework to save data into database and show data from database. But for now we need to focus how we can create model, controller and view. so add a new... By Ali Adravi   On 24 Feb 2015  Viewed: 1,595
  • mvc
  • model
  • view
  • controller

Learn MVC Step 1 - Application Structure

Learning mvc is really easy which we will realize during our articles. We will start from the very beginning to create a hello world application an application using insert, update, delete features and then try to give the option to sell them by using shopping cart at the end of the article. If you already know the then it's good and if not then it's best, because in MVC, we... By Ali Adravi   On 21 Feb 2015  Viewed: 1,404
  • mvc

A handy tutorial on creating Page Load Progress Bar using Pace.js

A website isn't complete without the inclusion of all the right elements. Progress bar is one of the key components of every website. It informs the user about the total waiting time for a particular web page or a specific task to load. Apart from adding value to the website, the progress bar is also capable of enhancing the overall user-friendly experience. Today, through this article I'll be... By Celin Smith   On 18 Feb 2015  Viewed: 4,679
  • javascript
  • pace.js
  • developer
  • php developer

ASP.Net page life cycle events, orders and purpose

ASP.NET Page Life Cycle order and events Page life cycle is very important concept to understand while working with, what are the stages we can read the view state values and what is the last event where can write back our view state again. When to load the dynamic controls and when to check the values of dynamically added controls, It is impossible to work without knowing the basics of... By Hamden   On 24 Jan 2015  Viewed: 2,916

Image gallery in mvc with multiple file and size

Image gallery in mvc or in any other language can be achieved by using different free JavaScript libraries. What we need for a good image gallery, at least we need images in two sizes to show thumbnail and then the original image on clicking the image. In this article we will write a small method to calculate the new image size and save images in multiple sizes. To upload image we will... By Ali Adravi   On 10 Jan 2015  Viewed: 31,375
  • mvc
  • c#
  • image
  • image-gallery

Convert image to base 64 string and base 64 string to image in c#

Converting and image to base 64 from an image or from a path or converting a base 64 string to an image is quite easy. We will use MemoryStream to convert them. We will use two simple method one to convert the image to base 64 string and other to convert the base 64 string to image. Image can be saved wherever you want or show them anywhere on the page Code to convert the image into base 64... By Hamden   On 01 Jan 2015  Viewed: 2,647
  • base64string
  • memorystream
  • c#

Static Class in C# why and when with examples

Static class, static method and static constructor are some common questions which are asked in most interviews. A static class is basically the same as a non-static class, but there in one difference, a static class cannot be instantiated, means we cannot use new keyword to create an object of the class. Even we cannot create any parameterized constructor because to pass the constructor value we... By Ali Adravi   On 01 Jan 2015  Viewed: 19,438
  • oops
  • c#

Social media sharing buttons without javascript

Social Media Sharing Buttons Without JavaScript I was looking for code to add social media buttons to share my blog on different sites like facebook, twitter, google plus, tumbler and email, I search many websites but could not found any good article which can help to add these buttons without using JavaScript. Finally I checked the code of different sites and try to copy the rendered code and... By Hamden   On 29 Dec 2014  Viewed: 2,305
  • social-buttons
  • html

Search, sort, paging, insert, update and delete with ASP.Net MVC and bootstrap modal popup PART-2

To add insert, update and delete feature we are going to use bootstrap modal popup with a single JavaScript method to open any partial view as a modal popup and one method to post the data from modal, which can work for entire application. First we will add some code to our layout view to dynamically add the partial view in it and JavaScript file, then we will add code only one for add new... By Ali Adravi   On 28 Dec 2014  Viewed: 45,408
  • mvc
  • bootstrap
  • modal-popup

Search, sort, paging, insert, update and delete with ASP.Net MVC and bootstrap modal popup PART-1

Search, sort, paging, insert, update and delete with ASP.Net MVC and bootstrap modal popup and WebGrid to show records with search, sort and paging feature and in next article we will complete our article by adding insert, update and delete feature with bootstrap modal popup. We are going to use Entity Framework 6 code first model with a very simple table phone. Adding client side sorting and... By Ali Adravi   On 28 Dec 2014  Viewed: 57,157
  • mvc
  • bootstrap
  • webgrid
  • modal-popup

Uncovering key differences between IdentityHashMap and HashMap in Java

As a concurrent, object-oriented computer programming language, [Java web development][1] has been incredibly embraced by web programmers all over the world. With innovative features and functionalities getting added to Java on a regular basis, it won't be wrong to say that the software product is definitely here to stay. Being a class-based programming language, Java comprises of several classes... By Celin Smith   On 26 Dec 2014  Viewed: 203
  • java application development
  • java web application development
  • java software development

Delightful WordPress Plugins That Augment Split Tests On WP Site

Keeping a check on your WordPress site's performance is a great way that helps make strives in the correct direction. Even a small tweak or change in the website can create a great difference in its performance. Thus, to ensure that your changes are offering breakthroughs and not introducing any bottlenecks in the performance, it is advisable to run A/B split tests every time whether you are... By Edward John   On 26 Dec 2014  Viewed: 153
  • wordpress plugin development services
  • wordpress web development company
  • custom wordpress development
  • wordpress outsourcing services

Do the Arguments in JavaScript Are Passed By Value Or Reference?

Since Java is a complicated language, beginners may find developing [Java Web Application Development][1] or web pages a difficult task. JavaScript (also referred to as JS) is much easier compared to Java, and helps to enhance how your web page works. Incorporating JS into your site's web page helps in improving visitor's experience. JavaScript beginners may find themselves perplexed over... By Celin Smith   On 23 Dec 2014  Viewed: 191
  • java development services provider
  • java web application development
  • j2ee application development
  • hire java developers

Read write xml in c#

Reading and writing in xml can be done in different ways, some common classes people use are XmlTextReader, XmlTextWriter , XmlDocument but we will use XDocument. By using the other classes say XmlTextReader we need to use the while loop to read and check every node by using XmlNodeType, for a long XML file which is not suitable. We need a way to search the exact node by providing Id of the... By Ali Adravi   On 20 Dec 2014  Viewed: 3,511
  • xml
  • xdocument
  • c#

Convert xml, json to class in c# by one click

Convert XML or JSON into a class by using visual studio is as easy as just copy and two clicks, never matter how big or how complicated is our XML or JSON. In this article we will create some dummy XML and json and will try to convert them into class without writing a single property manually. It does not create 100% correct data type but created all the properties for. Say we have an XML or... By Ali Adravi   On 20 Dec 2014  Viewed: 1,353
  • xml
  • json
  • c#
  • object

Creating Separate Page For Your WordPress Blog Posts

WordPress by default displays the blog content on the homepage. But, what if you want a separate page for your blog posts? Luckily, WordPress allows users to easily create a page particularly for blog posts. However, this process might seem challenging to most of the newbies. Reading this article will give you a basic understanding of how you can create pages exclusively for WP blogs. **Step... By Edward John   On 16 Dec 2014  Viewed: 198
  • hire wordpress developer
  • wordpress development service
  • custom wordpress programming
  • wordpress outsourcing

Compelling Reasons for Hiring the Services of ASP Dot Net Programmer

[**ASP.NET**][1], which stands for Active Server Pages is a Microsoft's popular application language that people often don't talk about. While it may be not as “modern” as some other leading languages like Ruby, but the truth is that .NET is still being used for developing a larger portion of apps. Owing to this fact, it's logical for most of the software development companies to focus on... By Celin Smith   On 16 Dec 2014  Viewed: 296
  • hire developer
  • hire programmer
  • hire .net programmer
  • outsource .net development
  • .net development outsourcing

Nested Gridview binding in with collapsible feature

ASP.Net GridView binding is really easy but nested binding is a little bit tricky. We need to create two row for every single row one for normal row data and other for nested grid. There are two way to create multiple rows, one is by using the JavaScript by manipulating the html and other is directly from code behind, which we will use in our example, really it is not easy but very easy. We will... By Ali Adravi   On 03 Dec 2014  Viewed: 9,376
  • gridview
  • c#

ng-grid search sort paging with AngularJs WebAPI and MVC ASP.Net

We are going to use ng-grid with feature like searching, sorting and paging of records, we will use paginated data, means pull only as many records as we have to show into our ng-grid. We already discussed about the AngularJS application structure in our previous article see [ASP.Net MVC Web API AngularJS and Bootstrap application structure][3]. We will use Entity Framework and WebAPI to search... By Ali Adravi   On 30 Nov 2014  Viewed: 23,132
  • ng-grid
  • angularjs
  • webapi
  • mvc
Prev1 ... 678910 ... 12Next