I am getting JSON result from server, with date as given below
...I have been tasked with creating a discussion section/ Feeds with Xamarin.Forms.
I have looked for examples and found nothing.
I have to create a section of the app where Users can ask a question and other users can comment and/or like question. I basically want to create something like Facebook Feeds or Stackoverflow but must simpler.
I need some guidence as I am fairly new to Xamarin. I have Generated the Models, And I'm using Web Services.
Any help will be appreciated.
How to access variables and functions of a specific class from another class in C#
Please give an example.
I have just started using Visual Studio code, but i am not able to format code in it, I have tried ctrl k+ Ctrl d
but it doesn't work, any helpful link for it?
I need some help in my asp.net MVC web-application, how can I Upload an excel file and extract or save(import) excel file data into my MS SQL server database using asp.net MVC and C#?
Any reference link or code will help, as I want to perform both uploading a file and saving its data into database, any combined solution will work
thanks
...I have been working with jQuery for some time now, & while I was working on Ajax GET, iPOST methods, I am not able to understand exactly, what is content-type and datatype in a POST request, in this example request
...I am trying to delete a row from database in asp.net MVC C# using the code below
...Hi, please how we can detect if a latin string is in English or French or not recognized on asp.net MVC razor c# using google translation API ??? Thank u :) ...
...How can I get complete and base type of URL in C# asp.net MVC web-application, controller, for example, if my web-application URL is https://qawithexperts.com/questions/111/invalid-uri-the-format-of-the-uri-could-not-be-determined-er
...I am trying to run the below code in my asp.net MVC web-application, to get the URL of first image(<img>
) in the HTML string, using the code below
public static List<Uri> FetchLinksFromSource(string htmlSource)
{
List<Uri> links = new List<Uri>();
string regexImgSrc = @"<img[^>]*?src\s*=\s*[""']?([^'"" >]+?)[ '""][^>]*?>";
MatchCollection matchesImgSrc = Regex.Matches(htmlSource, regexImgSrc, RegexOptions.IgnoreCase | RegexOptions.Singleline);
foreach (Match m in matchesImgSrc)
{
string href = m.Groups[1].Value;
links.Add(new Uri(href)); //getting error here
}
return links;
}
but I am getting this error "Invalid URI: The format of the URI could not be determined" when I run this code, here is the image of the error
...