I have just started using Cloudinary to upload images for my client's project there & I was trying to upload an image using explanation provided here https://cloudinary.com/documentation/dotnet_image_upload but it's not working for me, can you explain a complete example of this? Or any link of tutorial will also help, thanks.
...I Have populated the DropDownList with the roles from the AspNetRoles, when I am registering a new user and allocating a role an error is thown
"There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key 'Name'."
My AccountController :
...Hello, I am using Visual Studio and I was constantly adding "/bin/projectname.dll" files on GitHub until now, but now I want to ignore these .dll files. So How can I ignore these build files and push only files like .cs, .html,.js ,.css etc to GitHub Repository.
...How can I delete (remove) single record from database table using entity framework in asp.net MVC Controller?
please note I want to delete row of selected Id from the database permanently(Not to make a column
IsActive
and set it as false
)
Hi, I want to test if I can post from my app under facebook developer to my page facebook (my manager page) please look below image.
But I have got this error message as shown below
...Hello, We have a website on IIS, Windows server and we are using ASP.NET MVC OutputCache, now we have updated code for few pages, but server is still showing cached pages, so how can I remove cache or clear cache on IIS, without making website go down?
Thanks
...I need help to calculate resulted amount after applying coupon code, the thing is when user enter the coupon code, it can be of two type 0/1, suppose this is the table
Voucher Code |
Amount |
Off_type |
Test |
50 |
0 |
Demo |
10 |
1 |
Now if the Off_type is 1, then Amount to be deducted should be as rupees, and if Off_type 0, then amount to be deducted should be percent of total.
For example: If total amount(without discount) is 100, and Coupon code is "Demo", then after discount total amount to be paid will be 90, as 100 - 10% Of (Total) =90
So I am not able to implement this functionality using jQuery and WebMethod, here is my current code
jQuery
...