I am newbie in developing and learning to develop windows 7 phone application. I was trying to run the sample code for Graph API of facebook on https://github.com/facebook/csharp-sdk the compilation of facebook API was successful but when I try to run the example code given, it gives me error "Type or namespace name 'facebook ' could not be found. I have added facebook.dll in the project references
can anyone tell me the exact procedure to follow please ?
thanks
Humm the dll was compiled for which type and version of .NET ? If it's a "desktop" .NET 3.5/4 project, you can't use it directly in your WP7 project.
You need to create a new Class Library Winows Phone 7 Project (Facebook.WP7 for example) and add the existing source files from Github to it. And now you can reference this project in your WP7 project.
Which Facebook.dll you referenced in your project??? There is separate one for WP7 and Desktop version of the kit.
Related
I'm trying to replicate the formflow dialog as present in SDk-3.0 in SDK-4.0 bot framework using c# but unable to get any kind of documentation or sample code.
Is it possible to create them?
If yes: if anyone has tried implementing the same please share the document or any sample code.
Thanks,
Karthi
While the official Bot Framework SDK didn't create a v4 version of FormFlow, the BotBuilder-Community has successfully created a one, found here. The muget packages can be downloaded from here or simply installed via the nuget package manager on Visual Studio.
I've just reinstalled VS 2017 15.6.2 using web installer and tried to create new
empty Asp.net core 2.0 project.
But when i open it i got error:
Project file is incomplete. Expected imports are missing.
My version of SDK is 2.1.101, which was installed with visual studio.
I selected web and .net core development features during install, what am i missing?
I tried to create empty core console app and everything works fine.
UPDATE
this error is related to folder structure
C:\Novatek.Monitoring.WebUI // no errors
C:\Svn\Monitoring\trunk\Novatek.Monitoring.WebUI // Project file is incomplete. Expected imports are missing.
Try follow this tutorial:
https://www.asp.net/get-started
Remember to check your dotnet-core version with 'dotnet --version'
You can follow this simple and basic steps :) This link will help get started in creating your first dynamic ASP.NET Core MVC Web App connected to MS SQL Server.
https://deanilvincent.github.io/2018/01/12/steps-in-creating-simple-but-dynamic-powerful-web-app-using-asp-net-core-mvc-connected-to-a-database/
I have a SDK written in C# targeting Win10 UWP apps.
It uses SQLite and works perfectly on C# client apps.
But can a C++/javascript app use my SDK with the SQLite dependency?
A winmd (windows runtime component build) would be required in case the SDK has to be UWP compatible since a UWP app can be in C#/C++/javascript/Visual basic.
I have posted this in msdn forums and they say i would need a windows runtime component for all the 3rd party dependencies for it to work.
Have already tried wrapper projects and wrapper winmd build, it does not work.
I am unable to find any winmd build for SQLite library.
Please advise on what can be done here.
Any help is really appreciated.
But can a C++/javascript app use my SDK with the SQLite dependency?
Yes, as in msdn forums said, you will need to wrapper in WinRT component universal apps.
Have already tried wrapper projects and wrapper winmd build, it does not work.
I don't know what blocks you, but you can refer to Writing a SQLite wrapper component for universal Windows apps, there are detailed steps you will need to follow, and samples you may have a look.
I tried various approaches to make this project work and found some success in the following:
Following is the project structure I made along with dependencies :
Client Application (in C++):
Wrapper winmd library.
Wrapper winmd library (in C#): (I generate a winmd component from this project)
My SDK project
My SDK project (in C#):
SQLite Net.
SQLite Net Async.
Newtonsoft JSON.
When I build the client application, I get the wrapperlibrary.winmd file but I dont get the corresponding dlls from the 3rd party dependencies in the output directory (SQLite and Newtonsoft). So i manually copied the required dlls to the output directory of the C++ application. Now it seems to work correctly, I can verify correct usage of the 3rd party libraries and my C# code. Presently I am just trying to make the setup work as a poc and worry about the packaging later.
The issue I now face is that my SDK also has some UI elements, so essentially compiled .xbf files for the "XAML" I have.
I have asked this question in another thread to not go off main topic here.
I'm currently working on Xamarin.Android and xamarin.iOS project using mvvmcross.Now i have to consume Soap service via PCL? How can I do that ?I have read in few tutorials that you have to generate the Proxy class manually. Please let me know the feasible approach for this question.Also if there is any other way around.
If you do not target Windows Phone 8.1 (which doesn't support SOAP out-of-the-box), you can just right click References in your PCL project and Add a new service reference. It will generate the proxies automatically as it would in a classic .NET project.
Can somebody help me with a little issue about Universal Windows Apps?
I'm trying to develop a small universal app that calls an .asmx web service. I can add the Service Reference successfully to the Windows 8.1 project and reference it from the classes in the shared project. When I compile and run the application, it runs without problem.
But when I switch to Windows Phone 8.1, I'm unable to compile and I get an error telling me that the classes generated by the service reference in the Windows 8.1 Project are not accessible from the Shared Project.
Does anyone know how to solve this?
FInally I solved this unanswered question. It seems in Universal Windows Apps is not possible to use SOAP Web Services as Service References, so I used REST Services instead.