Hello,
When I want to use these lines I encounter a red line under seek and copy to. And
Warns me up "Are you missing a directive"?
var state = _instaApi.GetStateDataAsString();
using (var fileStream = File.Create(stateFile))
{...
I have made this app with another library: instasharper
On that app, when I run it and when I want to connect to Instagram, there is no exception.
But I get this message: Challenge is required.
But is your idea about this one?
Yes, recently I have asked but still got no answer.
You can see here:
https://docs.microsoft.com/en-us/answers/questions/560140/need-help-about-loadstadatafromstring.html#answer-577105
Can you say clearly what is your suggestion?
Hi,
I'm doing a web app in blazor for Instagram. I use instaApiSharp:
Should I use load state from stream or loading state from String??
When I use " loadStateFromStream" ,
When I run nothing happens and just I see:
this message: Message: Loading state from file
and there is no exception.
if...
You mean I should use this code:
[HttpPost]
public async Task<ActionResult<Image>> PostImage([FromForm] ImageData imageData)
{
if (imageData.File.Length > 0)
{
string path = Path.Combine(Directory.GetCurrentDirectory(), "wwwroot"...
Hello
Consider I upload an image to the server, then I changed some elements of the image with an image editor on the view layer (assume the view layer uses an image editor) then how can I save it as a new image on the server? (I mean how should be the back end code).
regards,
Saeed
Hello,
This is the part of a controller which uploads files in ASP.net Core. My question is why do we return a value for this case?
Image file = await _context.Images.FirstOrDefaultAsync(f => f.FileName == imageData.File.FileName);
if (file == null)
{...
No, I didn't think it may need a solution and used non of them. Because I read Microsoft sample for Blazor and taught it works with bootstrap!
on there Bootstrap is used! but when I publish it even that sample doesn't work.
As a final question: Do you think there is no problem that the index...
I understood what you say. After the project was published I will place these codes in web.config file then what should happen to log.
I mean I should I run a command or what?
But both of these methods should be written in web.confing:
<aspNetCore ...>
<handlerSettings>
<handlerSetting name="debugLevel" value="file" />
<handlerSetting name="debugFile" value="c:\temp\ancm.log" />
</handlerSettings>
</aspNetCore>
and:
<aspNetCore processPath="dotnet"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.