Forgot your password?
Sign in with
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Python questions
View Java questions
All Message Boards...
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Design and Architecture
Internet of Things
C / C++ / MFC
ATL / WTL / STL
Objective-C and Swift
Hardware & Devices
Hosting and Servers
.NET (Core and Framework)
Site Bugs / Suggestions
Spam and Abuse Watch
The Insider Newsletter
The Daily Build Newsletter
Most Valuable Professionals
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
What is 'CodeProject'?
Ask a Question
Bugs and Suggestions
Article Help Forum
Comments by Bohdan Stupak (Top 35 by date)
there's MVVM in question and no MVVM in answer
how would you expect your fileName to be not null if you never set it in your code
But backend returns items correctly, right? It is client who mishandles them?
I wonder how it compiles because you're missing a closing quote here "&from=en&to=hi";
But I after I copy paste your code, close the quote and execute it, I get 200 instead of 404
there's not task either in my comment. btw, I didn't pay attention before: why do you use ConfigureAwait(true)?
I'm not sure what exatcly causes the issue but anyways this code this.ActionContext.Request.Content.ReadAsStreamAsync().Result looks suspicious because calling .Result blocks the thread rendering all your async/await efforts to nil.
Try something like instead
var d = new StreamReader(await this.ActionContext.Request.Content.ReadAsStreamAsync().ConfigureAwait(true));
try this one https://stackoverflow.com/a/23884972
Unlike GET request you don't pass POST request parameters via URL. You pass them via body. Have a look at the example https://stackoverflow.com/questions/16416601/c-sharp-httpclient-4-5-multipart-form-data-upload
The controller codes and what exactly doesn't work would be helpful since the only guess from your code I have is that you have a typo in a word Authorize
Looks like quotes in your code don't match. Also, it would be nice to know what kind of error do you get
I definitely don't have an answer to your question but I'm wondering whether there is any chance that you could write integration level test with just directly uploading different files, checking response codes and cleaning up instead of unit testing this functionality.
Anyways, have a nice day.
Have you tried $scope.$apply() as in this SO question? https://stackoverflow.com/questions/25557962/angularjs-ng-repeat-doesnt-update-when-the-model-changes
What kind of question is that? If you don't want blur just don't use filter: blur(5px);
you are welcome
Could you exactly post which exception do you get? I can't figure out anything from this set of words :(
looks pretty decent except you're creating service via factory and share code in your service. did you provide a reference to your service in controller like SApp.controller('yourController', function($scope, commonservice //more codes
this looks like a mess from all possible concepts. please, refer to this tutorial to develop robust validation
why not using a tag instead of onclick event?
the same was even discussed on this resource :)
how do you treat numbers greater than 1000 in your app? I mean depending on the culture it might be 1 000 or 1,000. And whereas parseInt("1000") is actually 1000, parseInt("1 000") or parseInt("1,000") is actually 1.
Either I'm missing your point or you've confused me with some AnandCode who posted the original question.
because if you would follow this doc you would know that this feature is obsolete and no wonder it does not work in Edge. so this question is perfectly fine.
pls refer to doc
I mean that you provide into public async Task<actionresult> Index much more parameters then into @Html.PagedListPager. As far as I understand the list of parameters should be the same as soon as page => Url.Action would be get request to your server which would be handled in public async Task<actionresult> Index method
you actually base your filter upon many parameters which you don't provide in @Html.PagedListPager. Is it how it supposed to be?
I was googling for openquery syntax and found this question. So when I've finished my research I've diceded also to post answer here. Don't forget that questioner is not only person, who is ineterested in finding correct answer. Also there are many people who just google around.
Sure it doesn't complile. Variables like 'row', 'column' etc aren't defined. That is the way examples are.
Look through stackoverflow. There are loads of issues with Interop.Excel, where garabage collection needs to be forced to force termination of Excel proccess. You might not notice, when you work with 1 file, but when you work with 15 different files it will eat out all of your memory.
About loop. Frankly speaking I just can't figure out where does he want to put it.
no. only one
Oh, thanks. It's a great idea :D
I've already seen it. And provided link in my question for everyone, who is unfamiliar with imageshack API. And it seems to me, that I've filled all mandatory parameters that are described in paragraph about XML API in my method. But still I get errors. That's why I've posted this question
I'm not actually sure what do you mean, but I've updated the question to show, how I actually use my method
you are welcome :)
I've forgotten to mention that variable image is of type HttpPostedFileBase
no, you can just classes 'add code generation menu' by right-clicking on your model and update existing entity classes without deleting any of existing contexts
Last Updated 1 Jan 1900
All Rights Reserved.