![]() ![]() HttpResponseMessage response = task.Result Īny Help in this would be Much Appreciated. Return base.SendAsync(request, cancellationToken).ContinueWith((task) => ServiceTypes myObjs = JsonConvert.DeserializeObject(().Result) īool result = _serviceLogService.InsertLogs(request, myObjs) //Getting Error while inserting data here on multiple request Protected override Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) I have used below code to track all the request coming through the Service but i am getting error within this. Otherdata2 = serviceResponseModel.otherdata2 //list Residing in my MyModelWithObjectInData Model Otherdata1 = serviceResponseModel.otherdata1, //list Residing in my MyModelWithObjectInData Model Performing 3 Operations to Add Data in Different List (All 3 are Selecting the Values from Different Tables) as i need to Give Response with 3 Different List.īatchData = serviceResponseModel.GetBatchDataModel, (new BatchDataModel //List Residing in MyModelWithObjectInData Class File Where p.PK = oData.ID select p).FirstOrDefault() Var batchData = (from p in datacontext.Table1 Using (var transaction = new TransactionScope()) The logger is configured using the free EasyLogCloud app available for both iOS and Android. Var serviceResponseModel = new MyModelWithObjectInData() The logger can monitor and record temperature from -20☌ to +60☌ (-4☏ to +140☏) with its internal temperature sensor. Repository : public JObject batchAllDataResponse(MyModelWithObjectInData oData) Return _batchDataService.batchAllDataResponse(transactionbatchData) //Call Repository MyModelWithObjectInData transactionbatchData = JsonConvert.DeserializeObject(data.ToString()) If you want my code then i will provide you the Code (I am using repository Pattern in my Project) ![]() I need to handle Multiple request within seconds as I am Dealing with more then 1000 Devices at the same time and side by side i also need to respond them within seconds because we don't want that our devices wait for the Response for more then few Seconds.Ĭurrently I am using Azure platform for the Web Api services and working with MVC 4.0 Using LINQ. ![]() In Both the Scenario i am not able to handle multiple Request, I don't know what is the actual problem but it's keep giving me the 403 Response and 500 Response. Multiple Device Requesting Multiple Times.Single Device Requesting Multiple Times.I am using Web Api Service to Pass the Data to my Mobile Devices. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |