I have using the built in CSharpCodeProvider class in previous C# .NET projects and it has worked great. I see this has been removed in UWP. I've been banging my head against the wall trying to figure out if there is a way. I can't seem to find any scrap of information. But, I did come across an interesting app called #Code by Shahul Hameed on the Windows Store. This software claims to be able to compile code and be able to run it, and indeed it does. How are they achieving this, if such actions are not possible on the framework? Is it possible they're sending the code over the net to a web service of some kind and getting the returned console output? I thought so, but what about the live stdin support they've provided in the app, how would that work in a cloud compile situation?
Thanks for shedding any light
Code on Windows Store: https://www.microsoft.com/en-us/store/p/code/9nblggh4s3mf
Related
Since a while I am working with HoloLens2. My last OS-Versions were 10.0.18362.1005 and 10.0.19041.1109. I am developing with Unity 2019.4.7. My whole code was and still is running great on those old OS-Versions. Now I updated to OS-Version 21H1 and I have huge problems with everything including networking.
For example, my Mixed-Reality-WebRTC Pluging (from Microsoft), which only supports ARM-Architecture, does not work anymore on my new Device. The app crashes after it was successfully starting.
Another thing is, that the DevicePortal does not transmit virtual inputs. Again, on my older HoloLens2´s Virtual Input works great.
Also, even if I disable WebRTC parts of my Project, I still get an Exceptions in my Networking-System which I can´t assign to any cause. In term it is useful for you, I work with windows.Networking Library and in special with DatagramSocket.
I would be really glad if anybody could help me with this. Is OS-Version 21H1 restricted to any specific Unity- or VisualStudio Version (here currently I use 16.4.5)? Or is it Restricted to specific Networking Libraries? Thanks in advance!
Now I was able to fix the Networking Exception. The reason for that is located within my UDP-Communicator which uses DatagramSocket. Since earlier .Net.Sockets was not available at HoloLens2, now it is and I coincidentally came across this information. So I switched my implementation to .Net.Sockets which already exists in my project for editor-usage and now basic networking works fine.
Also, I was able to make WebRTC work again. With one of my Provisioning-Packages I disabled the usage of microphone for mixedReality and it seems like access to those audio-informations is mandatory for MR-WebRTC.
Unfortunately, I still have the same issues with Device Portal.This really looks like a bug.
I'm a second year student and for my last project I'm interested in doing a Xamarin Application. So I just got started with Xamarin and I've been doing the tutorials in developer.xamarin to learn new things. However my ultimate goal is to make an Xamarin.Android App which has multiple screens which will be used to interact with an Azure SQLDatabase which is already being used for my ASP.NET Forms Website, so that I can use both like Facebook to as an App as well as an Website.
While I was searching for examples I got this by Xamarin This Link (Which is quite complicated and some unknown errors pop while I'm developing it) but, while I was reading the forums I got this C-Sharp Corner Tutorial which is quite easier than the original Xamarin Blog Example. Later I found another approach given in StackOverflow which is Hosted In GitHub. It would be grate if someone could explain me what is the correct approach (and what is used in the Industry) from above three and which is the most optimal solution for my app goal.
Plus, According to the articles I read, here's what I understood so far, It is unsafe to directly connect an Azure SQL Database to an Android App like we used to do in ASP.NET applications so what we usually do is use Some Mechanism called REST based on Json requests. It would be great if someone could tellWhat is the way to interact an Android Application with an Azure SQL database
Thanking in advance :-)
There is a really easy way to do this by using the example officially provided by Xamarin about Consuming a RESTful Service which can be found in Consuming a RESTful Service and developing its ASP.NET Core Back-end API which can be found in above URL which is provided my Microsoft
Thanks
I am building an android + iOS app that has its own functionality as well as incorporates functionality of another web based application.
I am using Telerik to build out the interfaces, and probably OAuth to handle the sign-on.
I do however have the issue of handling portions of the C# functionality within my app, and I wanted to know what the best way was to interface between the database of the C# app.
There are obviously many rules associated with each action. For example, if a student uses the android app and wants to upload a grade to the (previously handled by C# web app) database, how do I go about doing this? Do I have to rebuild all functionality within my app? Is there a way I can use API's to retrieve info defining rules?
I am very against WebViews as it is slow and clunky.
Apologies if I seem silly here, not very experienced in the matter.
Any help or guidance is greatly appreciated.
So, Basically you wanted to go for cross platform mobile application Development !!
Then you have lots of options where you can use your web based knowledge to build mobile application
Like , Phonegap , Titanium and many more , there you can just use you own web based knowledge and make good Mobile application
http://phonegap.com/
http://www.appcelerator.com/
also , if you wanted to go for c# only then i suggest you to go for
xamarin
http://xamarin.com/
Also you will get so many api and guide for that about sqlite and also so many good designs are also available in this all platforms !
Do let me know if you need more information !!
Happy Coding !!
I am trying to develop an application in MVC4 where client can configure Dynamic menu for Incoming Calls from user Interface using Twilio API. Is there any opensource project exist or any voice model for dynamic IVR menu from where i can get an idea and application flow for GUI design. Your help in this regard will be highly appreciated.
Twilio developer evangelist here.
To my knowledge there isn't a .Net project that demonstrates how to build an IVR using Twilio. however, there are a few tutorials showing how to do it, and because most of it uses TwiMl, you should just be able to generate that using the libraries, or by simply making your requests return such verbs when necessary.
I would definitely stat off by looking at the following:
Project: Build a Simple IVR The example is in PHP, but you should very easily be able to translate that into C#
IVR: The Basics A good resource that tells you how IVR's actually work
Build an IVR system with Twilio and Django Another tutorial showing how to build an IVR using Django
With the URLs above you should be ale to get your IVR up and running in no time, but by all means feel free to reach out to me if you need any help. I'm a C# developer myself, so will be able to assist you if you get stuck with anything.
We have a c# application that requires a few steps be completed before every launch. I wrote a c# app to automate these steps.
Can anyone help me figure out how I can [EDIT: configure a JumpList] for my app?
I have included a screen capture to hopefully get my point across as I'm not sure how to explain it any better.
For the native interfaces, see Taskbar Extensions (Windows). Specifically, I think you're looking for the ICustomDestinationList::AddUserTasks method.
If you're using .Net 4+, you can now do a lot of this stuff with built-in classes in the System.Windows.Shell namespace, rather than adding the Windows API Code Pack as suggested by Coding Gorilla. See for example System.Windows.Shell namespace
Those are called "Jump Lists", have a look at the Windows API Code Pack here. I can't tell you exactly how to implement them, because it's very dependent on your application code. But this should give you somewhere to start.