עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

בעיה בהעלאת פרוייקט C# לשרת

Featured Replies

פורסם

היי, כתבתי פרוייקט ב VS express for web

שמורכת מ java script וC#, הכל עובד יופי שאני מריץ אותו לוקלית,

אבל שאני מעלה אותו לשרת שלי, ברגע שהJS מנסה לקבל מידע מהתוכנה בC# הוא נתקע... ולא ממשיך לזוז יותר...

יש למישהו רעיון מה זה יכול להיות?

פורסם

ואנחנו אמורים לנחש איפה התקלה? תן עוד קצת מידע - איפה הקוד הבעייתי, איזה פעולות צריך לעשות...

פורסם
  • מחבר

אוקיי, תודה על ההתענינות והעזרה!

ככה:

אם תפעילו את הניסוי תראו שהתמונות לא נטענות מרגע שלוחצים START. (הוא נכנס לLOADING ולא מסיים).

לוקלית מה שקורה (ועובד) זה שבקובץ http://meirtz4.herobo.com/js/Behavior.js

בשורה:

$.getJSON("GetQuestion.aspx", sendJson, function (question) { loadQuestion(question); });

אני קורא לפונקציה בקובץ:

http://meirtz4.herobo.com/GetQuestion.aspx.cs

שם נטענת התמונה והיא מחזירה לJS את המידע בעזרה JSON.

אני לא מבין בזה יותר מדי, נכנסתי לתוך קוד שלא שלי, מה שמפריע לי שהכל עובד לוקלית ואין לי מושג למה זה לא עובד על השרת.

אשמח אם תשאלו עוד שאלו וכמובן אם תחשבו על פתרונות

שוב תודה!

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.