c#
How to make rdlc report from xml string?
Im trying to make a report viewer (RDLC REPORT) with xml string as data source using asp.net c#
This is the xml
File Upload not posting / MVC
I’m trying to upload a file from my view to my controller, but the value is always null.
How to access database context outside of razor page?
I built a small web-app for college last semester and ran into an issue that I wasn’t able to properly solve. The app is a price tracker that’s using Selenium or curl to scrape products from webpages and track their price over time.
My issue is, how do I properly access the database context outside of the .cshtml.cs files? My current solution to this was to have a global variable that is assigned to the database context from the Main() class as such:
How can I append values in list without changing previous values
I have class in C# –
Model attributes not passed to next view
I am trying to reuse a model in different views in asp.net mvc. But if the model is passed to the next view and new attributes are submited the old values are lost.
What is the method done by Bitly to track clicks
I am trying to implement a code that detects a Bitly link and track users based on there mobile device (Android, IOS, Website) e.g I want to have the count of android users, Apple users, and website users that clicked on the Bitly link so here is my code
C# Build Expression tree based on Conditional operator to use with MongoDB filter
I am building an expression tree based on the conditional operator but I am unable to get the required filter working with MongoDb function.
How to upload a file directly to azure blob from the URL in c#?
I have a url which looks like following “https://XXXXXXXX-functions.azurewebsites.net/api/UploadedZIPFile?ticket=1234&code=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX” which contains the file. “UploadedZIPFile” is the file Name. In URL I don’t have the extension of filename. After downloading the file into my system it is showing the extension. I want to upload the file which came from the URL into Azure blob storage. How can I upload the file to azure blob storage from the given URL using c#? Please Added my code sample below
PagedList a List of objects in a ViewModel
I installed the PagedList.MVC Nugget package and I’m trying to make a PagedList from a list, List<MyProject.ViewModel.AddProducts>ProductsList