I want to develop an ASP.NET application using GStreamer, especially the GStreamer Editing Services (GES) module in the server end.
To do this I googled it and didn't find any detailed material about how to combine them together.
So I decided to try it myself.
Firstly I downloaded the two installer files from here and successfully installed them on my Windows 7 computer.
Next I created a C# project in VS2013 and tried to reference the DLL files in the bin folder of the installed SDK.
Then I found that they are native DLL files and I had to P/Invoke them in my project if I need to use any function in the GStreamer library.
Also I had to rewrite all the GStreamer classes I need in C# code because there is no way to export them from those DLL files, which requires me a lot of work.
This makes me wonder that if I'm on the right way.
Is there an easier way to let me use GStreamer in my ASP.NET application?
Related
I've written an MVC core app. The next step is to wrap it in an MSI and distribute it to clients. The problem is this: I can't seem to find any built in way capture all the content files and dll's automatically and wrap them in an MSI. I've tried so far windows installer and wix (heat, to be precise) and both of them doesn't seem to have a built in way to work with .net core. Did Microsoft just decided it's not important enough or am I missing something important? I could try to put all the output and all the dependencies, file by file, but that would be hell to maintain, with the new Nuget approach there are many many dll's required for a project, together with all the content it becomes enormous. Any help would be appreciated
I'm still adjusting to this "modern" world and part of me wonders why you'd want to package a .NET core app as an MSI. I'd think you'd be running it in a docker container or windows server app (appx) in the "cloud" or on nano server which doesn't even support MSI. For actual windows servers I'd assume regular old .NET. (Which I still fondly love.)
That said, I have an open source program called IsWiX (CodePlex) and have a very simple pattern for creating ASP.NET website installers (see video at: https://www.youtube.com/watch?v=pgDf1kv8a-4) and I'd be willing to work with you to come up with a similiar story for asp.net-core mvc apps.
From what I read, .net core apps also have msbuild publish profile support. That is what I use to create the model from which I author my installers. From there I just drag drop my files into IsWiX and let it author all the XML for me.
FWIW website installers have always had a lot of files. Even before nuget and npm a website developer might add a few thousand files to their project just by adding say Infragistics. I once worked on an installer with over 300,000 files. Yikes! I always wished we had a way of just creating an uncompresssed archive of this stuff and IIS could see if as a directory but to my knowledge that never happened.
The MSI world is a declarative world where we need to explicitly list each of those files. Web developers live in a world where they just say "publish" and don't care about those details. That is the gap that I try to bridge with IsWiX.
In a project, i have a .NET wrapper that use a .so build as a AndroidNativeLibrary.
Since the .so add a lot of weight to the APK(several MB), and that the features found in the .so library will not be used in all installations of the application, i was wondering if it is possible to dynamically load the .so from the sdcard for example?
What would be my other options, beside maintaining two versions of my application?
Thanks in advance!
The short answer is No.
Starting with Android N Google is changing the way shared library are accessed due to security (and app versioning). Consult the NDK link below for full details.
Your app references a library that is not included in its APK. For example, this could happen if you tried to use your own copy of OpenSSL but forgot to bundle it with your app's APK
Ref https://developer.android.com/preview/behavior-changes.html#ndk
Ref: https://releases.xamarin.com/beta-release-cycle-7-service-release-1/
net development. I am working in a website project and I am trying to update one of the dll files. I've search for hours for a solution on stackoverflow, but no luck.
Our website project in Visual studios is composed of one website that uses three C# projects. I am trying to update just one of these C# projects. Currently the website is in production and the DLL files of these projects are in the /bin folder.
I opened up the solution in VS and made my changes.
I built the whole solution and retrieved the new dll.
I stopped our in-process website with IIS and overwrote the dll and restarted it again.
I get an Missing Method Exception as an error when I do this. I was hoping for a straight forward way of updating our website project because I only need to change about two lines of code and swapping dll files seems like the easiest way of doing this.
Thank you guys for your help and be patient with me I am a slow learner and I ask a lot of questions.
One of the reason of this to occur could be that your dll is built using different version of .net framework than what is on your server. You can check that and see if that resolves the issue.
I have an application depending on the Google Data API SDK (which are .dll's).
When I publish the application (Debug > Build Solution), my EXE-file only works on another computer when I copy the references in the same directory which I have included in my Visual Studio project.
The application is querying my Google Calendar for the current event, so I want to be able to run it from a memory stick.
Is there a solution so I can include those DLL's in one single EXE (make it kind of portable?).
Thank you so much!
You could potentially use ilmerge to do this. However, I don't know what the ramifications of this are in terms of licensing, particularly if you're going to distribute the app.
I would personally vote for keeping them separate, and just deploying them next to each other (whether in an installer or on a memory stick).
Most of the libraries Google provides are open-source and hosted on Google Code. This means you can download the source code and include it in the same project as the .exe project. That eliminates the need to have references to other dlls.
Here is the link to the .Net Google Code project. You'll need svn to check out the latest source code. The svn command is here:
svn checkout http://google-gdata.googlecode.com/svn/trunk/ google-gdata-read-only
we have a website developed in java and .net. it works fine. but now we want to develop a installer in .net for the deployment of website. which should deploy both modules means java and .net .
i know about custom installer in .net but how can i deploy java module through this installer???????
You should be able to use a standard Setup project in Visual Studio. Since we are talking about Java, all you have to do is place the right JAR in the right folder. You would do that the same way you would any other content file.
Do you mean you want to compile your Java files while making the installer?
In that case, you are probably better off using scripts to compile the Java files, copy them to some folder, and include that folder in your .NET installer.