Geeks With Blogs

Anirudha gupta September 2017 Entries
How to use dapper for MySQL in C#
Few days ago I look for a solution so I can just save my time writing CRUD. So I found a solution. It’s called Dapper. For creating c# class from the database you can use this code later add Dapper into your project and add Dapper.Contrib now you don’t need to write a open Datareader and write some reading writing code again and again. Dapper.Contrib give you some cool functionality like Insert and Update. You still need to write your ......

Posted On Friday, September 8, 2017 7:24 PM

Scaffolding failed, failed to build the project

If you are adding a view and you see this error, your project is not in the state it can be compiled. If you compile your software it will fail.

For fix the issue , fix the error in Errors List in your current MVC project and then add the view it will work.

Happy coding Smile

Posted On Wednesday, September 6, 2017 10:03 PM

Responsive Select2 in HTML
From last few years I use select2 for making effective dropdown in bootstrap. In last days I am trying to make it responsive but it doesn’t perform so well. Here is a nice thread to make it work. using these tricks you can make it responsive which is quite awesome. Still it’s missing something. In my implementation I need a feature that I can put it on a small space and I want to use the full width when someone use it. So I look at The HTML generated ......

Posted On Tuesday, September 5, 2017 11:07 PM

Copyright © Anirudha | Powered by: