![]() If (entities.Any(entity => () > start.ToUniversalTime() & () () > start.ToUniversalTime() & () ) Log.GetErrors(0, 500 * lasthours, entities) //retrieve n * LastNHours errors assuming a max of 500 errors per hour. TableErrorLog log = new TableErrorLog(string.Format(ElmahAccountCredentials)) List nonCriticalErrorDictionary = new JavaScriptSerializer().Deserialize>(Load(StorageAccount, "", ContainerName)) If (StorageAccount = null) StorageAccount = CloudStorageAccount.Parse(ConnectionString) ![]() Public List GetElmahError(DateTime start, DateTime end) ReportHelpers.CreateBlob(StorageAccount, "ElmahErrorsDetailed" + LastNHours.ToString() + "hours.json", ContainerName, "application/json", ReportHelpers.ToStream(json)) Var json = new JavaScriptSerializer().Serialize(listOfErrors) String title = string.Format("", error.Error), SyndicationFeed feed = new SyndicationFeed("Chocolatey", "Chocolatey Packages", new Uri(siteRoot)) įeed.Copyright = new TextSyndicationContent("Chocolatey copyright FerventCoder Software, Packages copyright original owner(s), Products copyright original author(s).") įoreach (Package package in packageVersions.ToList()) GetPackagesForListing(includePrerelease: false) Var siteRoot = EnsureTrailingSlash(Configuration.GetSiteRoot(useHttps:false)) Public ActionResult Feed(int? page, int? pageSize) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |