Visual Studio 2017 xaml designer not available

Using Visual Studio Professional 2017 (Release 15.2 26430.16), when I open a xaml file for a desktop UI that I have developed, I can no longer see the xaml designer (I only see the raw xaml code). Thi...

22 Jul at 07:51

Error: ENOENT: no such file or directory, scandir

I scaffold an app using jhipster which is microservice gateway using cassandra db and using maven to build which was building fine after scaffold.i ran gulp command to for the live reload of ui. i ma...

22 Jul at 06:52

iOS: correctly adopting a view into an already-visible parent

I have the following code to adopt a child view controller into a parent: ``` public static void AdoptViewController(this UIViewController parent, UIViewController child) { parent.AddChildViewCon...

24 Jul at 00:56

Solve HTTP2 Download Failed Network Error

- - - ``` <modules runAllManagedModulesForAllRequests="true"> <remove name="FormsAuthentication" /> </modules> ``` ``` protected void btnDownload_Click(object sender, System.EventArgs e) {...

23 Apr at 07:53

ImportError: No module named 'xlrd'

I am currently using PyCharm with Python version 3.4.3 for this particular project. This PyCharm previously had Python2.7, and I upgraded to 3.4.3. I am trying to fetch data from an Excel file using...

HtmlAgilityPack & Selenium Webdriver returns random results

I'm trying to scrape product names from a website. Oddly, I seem to only scrape random 12 items. I've tried both HtmlAgilityPack and with HTTPClient and I get the same random results. Here's my cod...

How to speed up the Angular build process

After making some changes in my TypeScript files, each build takes over 20 minutes. I run this command: `ng build --output-path=..\..\static\angularjs`. If I run it in Microsoft PowerShell, it needs ...

8 Apr at 05:42

dotnet publish outputs old packages

I must be going crazy. I am hitting an issue where a `dotnet publish` is outputting older versions of some packages (specifically `Microsoft.Extensions.Configuration.dll`) and it's causing a runtime i...

21 Jul at 16:16

SSIS Script Component Cannot Load Assembly Until Manually Opened

I am creating a SSIS project via Biml (Using the current version of BimlExpress per the [Varigence BimlExpress page](https://www.varigence.com/BimlExpress)) that uses a script component within a Data ...

24 Jul at 15:8

RestSharp post request - Body with x-www-form-urlencoded values

I am using postman and making an api post request where I am adding body with x-www-form-urlencoded key/values and it works fine in postman. The issue arrises when I try it from c# using RestSharp pa...

21 Jul at 13:26

coded ui test project, obtain value of asp label

Created a simple calculator app in webforms. User enters a number in a text field `MainContent_numberTb` and clicks on results button. Added a new 'coded UI Test Project' to my solution. Have tested...

27 Jul at 07:51

Scaling an IdentityServer4 service

I have followed the [IdentityServer4 quickstarts](https://github.com/IdentityServer/IdentityServer4.Samples/tree/release/Quickstarts/7_JavaScriptClient) and am able to authenticate my javascript web p...

Which datatype of C# is equivalent to money in SQL Server?

I am working on a project in ASP.NET MVC. I started in the middle of the project and so I got stuck in this. The data type of a column in SQL Server is `money`. I need to access that column through th...

21 Jul at 07:8

Error: No module named 'fcntl'

I get the following error: ``` Traceback (most recent call last): File "C:/Users/aaaa/Desktop/ttttttt.py", line 5, in <module> import reload File "C:\Users\aaa\AppData\Local\Programs\Python\Py...

Convert Unix Epoch Time to Date in Google Sheets

I have a sheet with a column of unix epoch times (in seconds): 1500598288 How can I convert these into normal dates?

Getting undefined is not an object (evaluating '_this.props.navigation')

I'm using `DrawerNavigator` and I have 3 pages: `Router page`, `mainScreen` and a `photos page`. I maked a header navbar area and I used This `<TouchableHighlight onPress={() => this.props.navigation....

10 Mar at 15:30

How to Moq Mock a LoggerFactory in C# AspNet Core

I am trying to write some unit tests for controller actions. To do that, I am using XUnit and Moq. The controllers have an ILoggerFactory injected in the constructor. How does one Moq this up for t...

21 Jul at 08:0

How can I get Resharper to run tests in debug, when I get debug is "Inconclusive: Test not run"

How can I get Resharper to run tests in debug, when I get debug is "Inconclusive: Test not run" Running any MsTest test in Resharper test runner is Ok, but if I try to debug, the R# test runner just ...

17 Aug at 16:59

MVC Controller Returns CSV but does not Download Using AJAX

Inside my controller I am using ServiceStack.Text to serialize a List and wish to return it to the client. I am passing json that gets passed and manipulated into a list of objects that I then want t...

20 Jul at 20:0

Synchronised requests enforced from ServiceStack 3 configuration

I have an ASP.NET application, using NGINX as a server and Servicestack 3. When it comes to PUT requests, I'd like them to be synchronously processed as they come in to Servicestack from the NGINX se...

C# Entity Framework: Keyword not supported: 'port'

Hello I have more than one project connecting to a certain DB that is CodeFirst Entity Framework. All Projects are able to connect successfully except for one stubborn one. The error I am getting is: ...

29 Aug at 23:31

Using OData in .NET Core Web API for MongoDB

OData is now supported in .NET Core and 7.2.0 was released. But can it be used with MongoDB? I have searched, but I could not find anything that says one way or the other. I've found a nuget packag...

Clear file content cache in Visual Studio Code

My Visual Studio code, on a Windows machine, keeps on showing me the previous content of a file even after this one has been updated, while `notepad ++` doesn't behave in the same way. Is there a way...

26 Dec at 07:17

How to run a method in the background only when app is open and running?

Once the app is I would like a background process to check a database and to make an update depending on the data in the database. I would like to make this check every one minute. I only want this t...

28 Mar at 09:57

When I upgrade from ASP.NET Core 1.x to 2.0, what is the replacement for IdentityCookieOptions?

I have an ASP.NET Core 1.1 application that with code that uses this API: ``` Microsoft.AspNetCore.Identity.IdentityCookieOptions ``` When I attempt to upgrade to ASP.NET Core 2.0, the compiler giv...

19 Jul at 22:14