We have an application that uses a REST service from our customer through XML requests and responses. It runs on a Motorola (now Zebra) MC3190 Handheld Computer running Windows CE 6.0.
Last week they decided to publish the service using HTTPS and since then my application stopped being able to use the service. I can't even get pass the login.
Now, I've already tried to install on the device all the certificates available from their HTTPS URL and also this solution; but none of it worked.
The strangest thing is that when running the same application on a Desktop environment (Windows 10, for example), everything works like a charm.
I've already ran out of ideas of what to do, and I hope you guys can give me something to work with.
I assume the HTTPS site uses a SHA2 certificate (most, if not all, do these days).
Our experience is that Windows CE only supports SHA1 certificates (details here), so that might be the issue.
Related
Not sure where to ask this but figure someone might be able to shed some light on it. I am new to the whole .net core stuff and have been learning and taking some online classes. My question is this I am trying to self host a webapp/site what I am making in visual studios 2015 in C# using .net core 1.1. I have the app up and running locally when I run it in IIS Express everything works fine. What I cant seem to figure out is how to publish this to my windows 10 system. I have been digging around the web an came across a few articles but even following there steps it seems i cant get this thing to publish. Has anyone here run into the same situation and have gotten it working or know what i need/how to configure windows 10 and IIS to get this running ? Thanks in advance for any help given.
Here is the guide for configuring Kestrel to use IIS as a reverse proxy:
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/
Note that you do not want to use Kestrel by itself as it has not been hardened against attacks yet.
That said, what you are trying to do is not likely to work. For starters; IIS running on a desktop OS is limited to 10 concurrent connections, so having a real live website is just not going to happen. Furthermore, you need a static IP for the server to be consistently reachable via DNS. That service usually will cost you quite a bit (more than just using shared hosting).
The easiest way to host this would likely be in a free Azure Web App.
I haven't been able to find any information on what is required to deploy a .NET CORE solution to a linux environment. I was asked to specify and detail on the requirements to go to production.
We are developing a .NET CORE Web API wich hits a SQL Server database, the client will be an Angular 2 app. I read about .NET CORE is cross-platform, so besides to Windows one could deploy to Linux and OS X. I guess Kestrel is the main piece here, but I'm not very sure of what is the correct infrastructure to deploy.
Do I need multiple servers?, one for the API, one for the DB since SQL Server isn't cross-platform, one for the client app? Additionally, do the severs will need any special configuration?
Shortly: What do I need to ask to our company infrastructure team in order to avoid any misconfiguration when going to prod?
Thanks in advance.
Do I need multiple servers?, one for the API, one for the DB since SQL Server isn't cross-platform, one for the client app?
If you host MSSQL Server on Windows - yes, you would need at least 2 machines. One with Windows and one with Linux, given that you must host your API on Linux. For the client app you do not need a separate server and you can host it on the same server as API.
Also, you can host everything on Windows (MSSQL Server, API, Angular app).
You can take a look at MSSQL Server preview for Linux. MSSQL Server on linux
Additionally, do the severs will need any special configuration?
No, you can just build your .net core api for linux and copy it to the linux server and it will work. For the web server you would need any reverse proxy like NGinx or HAProxy. Here is a good tutorial from Microsoft Linux environment + nginx
So I have zero experience with deploying software or putting something live. The situation is like this:
I have developed a dashboard web application on a laptop. This application uses a microsoft SQL database that also runs locally. When I run it, it's a localhost address. Now, I need to be able to access my web application from other PCs within my company's network. This way I can do some user testing. What are ways to do this? I searched and things confuse me to no end.
I use:
.NET Framework 4.5
Visual Studio Ultimate 2012
IIS7
Thanks
There are a few things you'll need to do to make your local application visible on the network. I'm assuming you want your app running on something like http://foobar/myapp where foobar is the name of your machine
Here is what you need to do:
Add a URL reservation so your machine will allow IIS to serve content on the url http://foobar/myapp
Create an inbound rule in Windows Firewall to allow incoming connections on port 80
You can find the exact commands you need to run on Scott Hanselman's excellent blog post. Of course, he's focusing mainly on getting SSL to work with IIS Express, but it has enough pointers to get you going, too.
look at msdn.microsoft.com
you can learn about:
Prerequisites
Creating the Web Site
Creating a Test Page and Class
Publishing the Web Site
Testing the Published Web Site
Next Steps
I am really struggling to get the Windows Phone 7 emulator connecting to the internet. The following things are not an issue:
My proxy settings are correct. I can browse the internet through IE and my colleague can connect with the same settings.
I do not have fiddler installed so this should not be causing problems.
I receive no error messages starting up the emulator or using the emulator.
I have uninstalled and re installed the SDK and patched it to the latest version but all of this to avail.
I get the same problem when my phone is connected to my computer, it will stop me being able to browse the internet through my phone.
It is probably worth noting that I can get to internal sites, which are either defined in my exception list, or forwarded on to internal DNS from the proxy server.
Running on Windows 7 Pro x64.
How about testing with Wireshark if connections are emanating from the emulator when you use the browser to visit a site. The reasons for failing to use the Internet can be at many levels. Let's first eliminate the fact that the emulator is sending HTTP requests out. Do you know how to use Wireshark?
I think you need to use something like a Proxifier - a tool that can redirect outcoming requests to the proxy, because WP7 emulator doesn't support proxy as I know.
We are designing a new N-tier project where clients calling WCF services. In a previous project i worked on, we used implemented own classes for System.ServiceModel.ClientCredentialsSecurityTokenManager and System.ServiceModel.Description.ClientCredentials (which rely all on the System.IdentityModel somehwere) bound those credentials to the Service Endpoint and used a STS check if the user has the rights to perform the specified operation on the service. All users had at least Windows Vista - so far so good.
Now, we wanted to use a similar approach. But this is then the customer kicks in: they almost all have Windows XP machines, but Windows Identity Model cannot be installed on XP (not supported). So, before we are starting to design in a totally wrong direction, I am better of asking for your advice.
EDIT
Ok, i installed a new VM with Windows XP and all the needed assemblies seem to be available, so it might just have been a false alarm then!?
Slightly confused about the XP angle. Do you mean you need to develop the application on XP or host it on XP or that XP users will simply use a browser to access a claims-aware application?
If the latter, it's not an issue.