سؤال

يمكنني الحصول على خطأ في محاولة جعل httpWebRequest داخل جزء ويب، أحصل على SecurityException يقول أن system.net.webpermission فشل.أثناء البحث عن إجابة، جئت عبر هذا السؤال كان أحد الإجابات استخدام حل مزرعة.أنا جديد جدا على التطور مع SharePoint لذلك أنا لست متأكدا تماما ما يعنيه هذا.

لدي حاليا تطوير SharePoint VM إعداده باستخدام Visual Studio قيد التشغيل عليه.كيف يمكنني أن أكون قادرا على العمل على جزء الويب الخاص بي وتكون قادرة على عدم إلقاء هذا الاستثناء؟

شكرا للطن!

هل كانت مفيدة؟

المحلول

When you create a SharePoint project in VS, look at the dialog that appears: it asks which site you want to use for debugging, and the second question is whether you want it to be a sandbox or a farm solution. (or, for an existing project, you can change this in the properties of the project).

There's already been a lot written on both, so read up on them and post any specific questions you have.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top